XML Parsers

We've now written our first XML document, which describes an email. The next thing we need to do is to actually process the document and display it on the screen. The screen should display all the components of an email as described in the XML document. We've seen that the XML document is quite easy to read with the naked eye because it provides a definite structure to your data. But how do you make a software application read your XML document? To do so, you must use some tool that will parse through the file and give access to the contents of the document in a convenient format, which can then be handled using other applications. You'll find a variety of such tools in the market. They're known as XML parsers.

Parsers are of two ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.