AW: How to add CRs with revAddXMLNode

Tiemo Hollmann TB toolbook at kestner.de
Tue Nov 18 08:20:28 EST 2008


Thanks Eric and Mark,
there are so many value infos out there that you sometimes don't know where
to start to search for :)
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Mark Smith
> Gesendet: Dienstag, 18. November 2008 13:50
> An: How to use Revolution
> Betreff: Re: How to add CRs with revAddXMLNode
> 
> Tiemo, you can do this:
> 
> put revXmlText(tDocId,,true) into tText -- note the empty second
> parameter
> 
> This will do some basic formatting, though I've found that it gets a
> bit confused when there are many levels in the xml hierarchy.
> 
> Another, really basic thing that I sometimes do:
> 
> put revXmlText(tDocId) into tXml
> replace "><" with ">" & cr & "<" in tXml
> 
> Best,
> 
> Mark
> 
> On 18 Nov 2008, at 12:39, Tiemo Hollmann TB wrote:
> 
> > Hello,
> >
> > I am writing an XML file with putting the revXMLText(tDocID) into a
> > file. I
> > created the XML tree with revAddXMLNode. That works fine, beside
> > the whole
> > tree is put in one line, what is good for the machine, but not so nice
> > readable and controlling for human beings. Is there any parameter
> > where I
> > could add a CR after each closing tag or do I really have to parse
> > the XML
> > output and add CRs after each closing tag myself?
> >
> > Any ideas?
> >
> > Tiemo
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list