Great! I missed that- will be very useful :)

Still got the problem though as it does not indent the node contents when
that goes over one line. As the node contents are xHtml it looks like I got
two choices - add the xHTML to the tree as nodes or recurse the XML tree
manually.

2008/6/8 Björnke von Gierke <[EMAIL PROTECTED]>:

> there's a feature (documented since 2.9, but available in earlier versions
> too) which intends, and inserts returns:
>
> revXMLText(theID,,true)
>
>
> On 8 Jun 2008, at 14:46, David Bovill wrote:
>
>  The output of revXmlText is hard to view. I'd like to be able to indent it
>> in the same way revXmlTree indents its output. Has anyone got a function
>> for
>> this? I gess you need to walk the XML tree hierarchy? The function I have
>> at
>> the moment is just a hack:
>>
>>
>>  function xml_MakePretty someXML
>>>   replace "><" with ">" & CR & tab & "<" in someXML
>>>   return someXML
>>> end xml_MakePretty
>>>
>> _______________________________________________
>> use-revolution mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to