« stringSplit(text,splitCharacter) | Main | xmlText(node) »

Thursday, July 14, 2005

xmlValue(node)

return text only value.

for example

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

// return "text1text"

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