| View previous topic :: View next topic |
| Author |
Message |
Bruce Raisley Guest
|
Posted: Wed Sep 17, 2003 2:22 pm Post subject: TClientData set XML line feeds |
|
|
I am using TClientdataset to convert a dbf file to XML but the XML file does
not have line feeds.
How can I make the XML output from TClientdataset format the XML output with
line feeds and proper indent?
|
|
| Back to top |
|
 |
Ignacio Vazquez Guest
|
Posted: Wed Sep 17, 2003 2:40 pm Post subject: Re: TClientData set XML line feeds |
|
|
"Bruce Raisley" <n9zle (AT) hotmail (DOT) com> wrote in message
3f686f20$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I am using TClientdataset to convert a dbf file to XML but the XML file
does not have line feeds.
How can I make the XML output from TClientdataset format the XML output
with line feeds and proper indent?
|
Read it into an XML engine then write it back out with the proper options
set. Ask in .xml if you need more help.
Cheers,
Ignacio
--
No, don't send me e-mail directly. No, just don't.
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Wed Sep 17, 2003 9:01 pm Post subject: Re: TClientData set XML line feeds |
|
|
Usually XML contain pure data/records only.
If you want to format, you must create xsl-file where you'll define
transformations.
But I suggest you to check our SMExport suite: http://www.scalabium.com/sme
There is a TSMExportToXML component that allow to create a few different
"formats" for xml-file with data. There are the "TClientDataset"-compartible
xml and xml with line feeds (same as you see in browser a-la tree)
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Bruce Raisley" <n9zle (AT) hotmail (DOT) com> wrote
| Quote: | I am using TClientdataset to convert a dbf file to XML but the XML file
does
not have line feeds.
How can I make the XML output from TClientdataset format the XML output
with
line feeds and proper indent?
|
|
|
| Back to top |
|
 |
|