Applications


We’ve covered a lot of ground in this chapter, and yet we’ve hardly begun. XML parsing has so many applications that it’s hard to show all the ways you might use it in your application. Here are a couple of ideas.

One place you end up directly interacting with the XML parser is in the kind of example we’ve been using through out this chapter: turning XML documents into domain-specific objects within your application. Although there are some proposals for tools that can do it for you, this is a task where you’ll still see developers having direct interaction with the parser, at least for a little while longer.

Another application people use the parser for directly is filtering XML. When you have a very large XML document and you need only part of it, using SAX to cut out the stuff you don’t want to deal with is a very viable solution.

XML parsers have a place as a document and schema development tool. They provide the means for you to create XML documents and grammars in many forms (DTDs, XML Schema, and Relax-NG) and verify that the grammars you’ve written do what you want and that your documents conform to those grammars.

The reality is that most developers are doing less with XML parsers directly. That’s because lots of clever tool and application developers have leveraged the fundamental capability of XML parsing and used it to build tools that operate at a higher level. Although we hope you’re excited about Xerces and all the cool things you can do with it, we hope you’re even more excited by some of the tools that have already been built on top of it. Those tools are what the rest of this book is about.




Professional XML Development with Apache Tools. Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Professional XML Development with Apache Tools: Xerces, Xalan, FOP, Cocoon, Axis, Xindice (Wrox Professional Guides)
ISBN: 0764543555
EAN: 2147483647
Year: 2003
Pages: 95

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net