padding out revXMLText

Sarah Reichelt sarahr at genesearch.com.au
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.

Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/

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
> AUSTRALIA
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>



More information about the use-livecode mailing list