a stupid question# XML - WWW明日之星
i*t
1 楼
Use jaxp dom to create a XML file:
in an element, if what I want to include is an integer, what should I do? What
a document can create is only test node (string). So do I have to do like
this:
element.appendChild( document.createTextNode(intNum.toString());
when paring it, I have to use Integer.parseInt(string)?
Thanks.
in an element, if what I want to include is an integer, what should I do? What
a document can create is only test node (string). So do I have to do like
this:
element.appendChild( document.createTextNode(intNum.toString());
when paring it, I have to use Integer.parseInt(string)?
Thanks.