« xmlValue(node) | Main | xmlParse(text) »

Thursday, July 14, 2005

xmlText(node)

convert node to string.

for example

var xml="<data><v>text1</v><v>text2></v></data>";
var dom=xmlParse(xml);
var text=xmlText(dom);
alert(text);
// return "<data><v>text1</v><v>text2></v></data>"

Posted by at 8:16 AM
Edited on: Thursday, July 14, 2005 8:25 AM
Categories: misc.js