由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
XML版 - a stupid question
相关主题
Please help! How to Program to Create an XML document with no root element?What's a document?
Re: Please help! How to Program to Create an XML document with no root element?XML is Just Like HTML?
Personal webSo XML Is Just Like SGML?
XMLWhy XML?
XML is what?XML Development Goals?
XML standards listHow Is XML Defined?
What is XML?What Do XML Documents Look Like?
XMLWhat do XML documents look like?
相关话题的讨论汇总
话题: what话题: stupid话题: use话题: question话题: do
进入XML版参与讨论
1 (共1页)
i*****t
发帖数: 220
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.
m******o
发帖数: 33
2
yes.. only plain text in xml.

【在 i*****t 的大作中提到】
: 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.

i*****t
发帖数: 220
3
thanks dude!

What

【在 m******o 的大作中提到】
: yes.. only plain text in xml.
1 (共1页)
进入XML版参与讨论
相关主题
What do XML documents look like?XML is what?
ValidityXML standards list
XML resourceWhat is XML?
XML的二十个热点问题XML
Please help! How to Program to Create an XML document with no root element?What's a document?
Re: Please help! How to Program to Create an XML document with no root element?XML is Just Like HTML?
Personal webSo XML Is Just Like SGML?
XMLWhy XML?
相关话题的讨论汇总
话题: what话题: stupid话题: use话题: question话题: do