Stop RevXML converting illegals to entities

Sarah Reichelt sarahr at genesearch.com.au
Tue Jul 12 01:00:48 EDT 2005


> I have this code
>
snip

>  which is meant to turn paragraphs inside and XML node
>
> para1
>
> para2
>
> para3
>
> into
>
> <p>para 1</p>
> <p>para 2</p>
> <p>para 3</p>
>
> but on dumping... Rev is converting all these to entities
> =======we get as output:
>
> <p>'Learning from our Mistakes' </p>

It converts them to entities for it's own storage and shows them like  
this if you use revXMLTree() to display the result, but when you use  
revXMLNodeContents() to retrieve the contents of the node, it will  
convert the entities back into their original characters.

Sarah




More information about the use-livecode mailing list