BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TClientData set XML line feeds

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO)
View previous topic :: View next topic  
Author Message
Bruce Raisley
Guest





PostPosted: Wed Sep 17, 2003 2:22 pm    Post subject: TClientData set XML line feeds Reply with 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
Ignacio Vazquez
Guest





PostPosted: Wed Sep 17, 2003 2:40 pm    Post subject: Re: TClientData set XML line feeds Reply with quote



"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





PostPosted: Wed Sep 17, 2003 9:01 pm    Post subject: Re: TClientData set XML line feeds Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.