i*t
2 楼
what is the function of xml parser? just to validate wheather an xml file is
valid or not? what do we need to parse an xml file? do we need: xml file and
its DLD/schema? thanks.
valid or not? what do we need to parse an xml file? do we need: xml file and
its DLD/schema? thanks.
e*c
3 楼
Parser: SAX Parser->Event Drive
So you define the process when those element, space, attribute, etc happens.
DOM Parser->Node, easy for reading and writing.
So if you want to get the element from XML, if just once, SAX is fine. If you
want to modify it, maybe DOM is better, but it require more memory.
Check www.apache.org for detail.
DTD/schema defines the data type you defined in XML file. It confines the formate
t of XML file.
For parsers, xalan->parser+transformation
Xerecs->parser+schema+...
【在 i*****t 的大作中提到】
: what is the function of xml parser? just to validate wheather an xml file is
: valid or not? what do we need to parse an xml file? do we need: xml file and
: its DLD/schema? thanks.
So you define the process when those element, space, attribute, etc happens.
DOM Parser->Node, easy for reading and writing.
So if you want to get the element from XML, if just once, SAX is fine. If you
want to modify it, maybe DOM is better, but it require more memory.
Check www.apache.org for detail.
DTD/schema defines the data type you defined in XML file. It confines the formate
t of XML file.
For parsers, xalan->parser+transformation
Xerecs->parser+schema+...
【在 i*****t 的大作中提到】
: what is the function of xml parser? just to validate wheather an xml file is
: valid or not? what do we need to parse an xml file? do we need: xml file and
: its DLD/schema? thanks.
g*y
4 楼
you
i am afraid in this case DOM is the only choice bah
formate
is
file and
【在 e***c 的大作中提到】
: Parser: SAX Parser->Event Drive
: So you define the process when those element, space, attribute, etc happens.
: DOM Parser->Node, easy for reading and writing.
: So if you want to get the element from XML, if just once, SAX is fine. If you
: want to modify it, maybe DOM is better, but it require more memory.
: Check www.apache.org for detail.
: DTD/schema defines the data type you defined in XML file. It confines the formate
: t of XML file.
: For parsers, xalan->parser+transformation
: Xerecs->parser+schema+...
相关阅读
XML Global 建立了一个开发XSLT网络通信标准的联合论Can I use Chinese element names?The Coolest site for XMLquestionXML, Database and JavaASP的两个小问题到底学什么ASPConneXt通过XML加快消费者信息系统的应用进程。e-conten组织了一个主体是XML电子商务的贡献系列研讨DTD vs CSS欢迎造访我的竹叶Lotus R5,满足不断提高的Web应用需求What is the best free XML software for Chinese ?System 1软件公司同意为商业器材金融业定制和推广B-To-B Hard to Spell with世界真奇妙!快来指点一下吧!SOS for HTML textbookNetfish Technologies已挤身全球电子商务解决方案