padding out revXMLText

Sarah Reichelt sarahr at
Thu Jul 29 22:40:31 CDT 2004

If you have a look at my XML demo stack, I wrote a function to format 
the results from revXMLtext, adding tabs & linefeeds where appropriate. 
It might not be exactly what you want, but you should be able to get 
some ideas from it.

sarahr at

On 28 Jul 2004, at 2:32 pm, Terry Judd wrote:

> I've noticed that revXMLText strips out any padding (tabs or spaces) 
> between elements.  How do I go about replacing these should I want to 
> write out the XML after editing it (or creating new XML from scratch 
> for that matter) other than by parsing the entire tree and adding 
> padding on an element by element basis?
> Anyone tackled this already?
> Terry...
> Dr Terry Judd
> Lecturer in Educational Technology (Design)
> Biomedical Multimedia Unit
> Faculty of Medicine, Dentistry & Health Sciences
> The University of Melbourne
> Parkville VIC 3052
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the use-livecode mailing list