aspose file tools*
The moose likes XML and Related Technologies and the fly likes What is XML InformationSet (Infoset) and in what way it is different from DOM? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "What is XML InformationSet (Infoset) and in what way it is different from DOM?" Watch "What is XML InformationSet (Infoset) and in what way it is different from DOM?" New topic
Author

What is XML InformationSet (Infoset) and in what way it is different from DOM?

Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 519
    
    2

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: 12806
    
    5
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



Kumar Raja
Ranch Hand

Joined: Mar 18, 2010
Posts: 519
    
    2

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: 12806
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is XML InformationSet (Infoset) and in what way it is different from DOM?