Bob McWhirter

Subscribe to Bob McWhirter: eMailAlertsEmail Alerts
Get Bob McWhirter: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Bob McWhirter

The W3C (http://w3c.org/) defined XML as a data model. Soon thereafter, work was started to define XPath, the language for addressing parts of an XML document. XPath isn't a technology for performing queries upon an XML document - that's the realm of the XQuery specification - but rather a simpler method for addressing or matching parts of a document. In the world of XML document usage there's a clear separation between the parser, which can recognize XML tokens and validate to some extent the semantics of the document (using a DTD or a schema), and the application, which uses the data. Interfaces such as the W3C DOM provide an object tree-based representation of the document to the application programmer, whereas the SAX (the Simple API for XML) provides a callback method for interacting with a document in a top-to-bottom event-stream method. With SAX, events are f... (more)