Thanks for looking into this. If you sustitute a CR instead of empty I see a problem though:
Code: Select all
<?xml version="1.0" ?>
<root>
<boo>moo</boo>
</root>
on mouseUp
local tTree
put revCreateXMLTree(the text of fld 1,true,true,false) into tTree
answer tTree
revputIntoXMLNode tTree,"root/boo/",cr
put revXMLText(tTree,,true)
revDeleteXmlTree tTree
end mouseUp
Code: Select all
<?xml version="1.0"?>
<root>
<boo>
</boo>
</root>
Code: Select all
<?xml version="1.0"?>
<root>
<boo/>
</root>
Is that the case?
Best,
Malte