background preloader

Xml

Facebook Twitter

The Expat XML Parser. Using Expat. September 01, 1999 What is expat? Expat is a library, written in C, for parsing XML documents. It's the underlying XML parser for the open source Mozilla project, perl's XML::Parser, and other open-source XML parsers. As demonstrated in my benchmark article, it's very fast. It also sets a high standard for reliability, robustness and correctness. This library is the creation of James Clark, who's also given us groff (an nroff look-alike), Jade (an implemention of ISO's DSSSL stylesheet language for SGML), XP (a Java XML parser package), and XT (a Java XSL engine). James was also the technical lead on the XML Working Group at W3 that produced the XML specification. Overview of Expat Expat is a stream-oriented parser. Expat can be intimidating due to the many kinds of handlers and options you can set. XML_ParserCreate Create a new parser object. XML_SetElementHandler Set handlers for start and end tags.

XML_SetCharacterDataHandler Set handler for text. XML_Parse Building expat Working with Expat. Microformats. Xindice. Apache Xindice is a database designed from the ground up to store XML data or what is more commonly referred to as a native XML database. The name is pronounced zeen-dee-chay in your best faux Italian accent. Don't worry if you get it wrong though, we won't mind. We just care that you spell it correctly. You might be wondering what a native XML database is good for? The benefit of a native solution is that you don't have to worry about mapping your XML to some other data structure. At the present time Xindice uses XPath for its query language and XML:DB XUpdate for its update language. Xindice is the continuation of the project that used to be called the dbXML Core.

Version 511427.