| Author |
What is XML InformationSet (Infoset) and in what way it is different from DOM?
|
Kumar Raja
Ranch Hand
Joined: Mar 18, 2010
Posts: 457
|
|
Hello All,
Could you some explain me about XML Infoset? and how is it different from DOM. From this document, I read Infoset as "XML Information Set (Infoset) allows you to describe an XML document as a series of objects with specialized properties. Read about this abstract data to better understand the basic structure of XML. " . Does it not sound like a DOM? Can you explain me the differences and pros/cons.
|
Regards
KumarRaja
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
|
|
The Infoset concept is a convenient way of referring to the components of XML document with a consistent vocabulary.
For example, when referring to XML processing steps, a process either preserves the infoset or it does not.
There is no processing API like there is for DOM.
Bill
|
Java Resources at www.wbrogden.com
|
 |
Kumar Raja
Ranch Hand
Joined: Mar 18, 2010
Posts: 457
|
|
William Brogden wrote:The Infoset concept is a convenient way of referring to the components of XML document with a consistent vocabulary.
For example, when referring to XML processing steps, a process either preserves the infoset or it does not.
There is no processing API like there is for DOM.
Bill
Thank you Bill. So, it is only an abstract way of representing, but in order process the XML Infoset, we use some API like DOM, SAX etc. Please confirm.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
|
|
No matter what API you use, you will be processing the Infoset.
I wouldn't worry about it - the term mostly seems to be used in the standards setting circles of the W3C and other standards organizations.
Bill
|
 |
 |
|
|
subject: What is XML InformationSet (Infoset) and in what way it is different from DOM?
|
|
|