![]() | |
#21
| |||
| |||
|
|
On Mon, 30 Jun 2008 18:10:33 -0400, Jim Hargan contact (AT) harganonline (DOT) com> wrote: On Mon, 30 Jun 2008 21:37:23 +0200, Michael.Ruehling (AT) t-online (DOT) de wrote: Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. I wrote an OPAL system that creates valid XHTML web pages from text content stored in Pdox tables. This is XML, but probably not what you are looking for. However the principle is simple: - use tCursors to find the datum you want to write; - store it in a string variable (all XML data are strings); - add the XML tags to the start and end of the variable; and - textStream it into the XML document. I've been using it successfully for five years or so. I created my web site with it, and I create lightboxes for clients with it several times a week. HTH, Jim Hargan www.harganonline.com Hi, this is what I want. But I want to do it automaticly (?) for all of my tables without manual interference. e.g.: [PSEUDOCODE]: openTable(char Name); while (!EOF) { STRING Var = add(XML_VARIABLE_START, datum, XML_ELEMENT_END); writeFile(openTextFile, Var); } closeTable(); So far it complies with your Thought, except for the tCursor to find the data. By the way: Is there any good book/resource for OPAL? Thanx M. |
#22
| |||
| |||
|
|
On Mon, 30 Jun 2008 18:10:33 -0400, Jim Hargan contact (AT) harganonline (DOT) com> wrote: On Mon, 30 Jun 2008 21:37:23 +0200, Michael.Ruehling (AT) t-online (DOT) de wrote: Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. I wrote an OPAL system that creates valid XHTML web pages from text content stored in Pdox tables. This is XML, but probably not what you are looking for. However the principle is simple: - use tCursors to find the datum you want to write; - store it in a string variable (all XML data are strings); - add the XML tags to the start and end of the variable; and - textStream it into the XML document. I've been using it successfully for five years or so. I created my web site with it, and I create lightboxes for clients with it several times a week. HTH, Jim Hargan www.harganonline.com Hi, this is what I want. But I want to do it automaticly (?) for all of my tables without manual interference. e.g.: [PSEUDOCODE]: openTable(char Name); while (!EOF) { STRING Var = add(XML_VARIABLE_START, datum, XML_ELEMENT_END); writeFile(openTextFile, Var); } closeTable(); So far it complies with your Thought, except for the tCursor to find the data. By the way: Is there any good book/resource for OPAL? Thanx M. |
#23
| |||
| |||
|
|
Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. M. |
#24
| |||
| |||
|
|
Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. M. |
#25
| |||
| |||
|
|
Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. M. |
#26
| |||
| |||
|
|
Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. M. |
#27
| |||
| |||
|
|
Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. M. |
#28
| |||
| |||
|
|
Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. M. |
#29
| |||
| |||
|
|
Hi, I am using Paradox 9. Thesedays I am trying to convert all of my Lists into XML-Files to display them via XSL. Has anybody tried to write an XML-Export-Filter -Function or something like that in ObjectPal? Anything is helpful. M. |
![]() |
| Thread Tools | |
| Display Modes | |
| |