Summary

I l @ ve RuBoard

That concludes this tour of PHP's SAX functions. In this chapter, you got your first taste of PHP's XML functions by learning how to implement a generic XML processor in PHP and to use callback functions to handle the different events caught by the SAX parser.You also learned how to modify specific aspects of parser behavior, handle errors gracefully, and create native data structures from XML documents. Finally, you road- tested the XML processor with two composite examples, combining your knowledge of all these techniques to create simple XML applications to format and present XML data in HTML.

In the next chapter, I will be exploring an alternative technique of XML processing ”using the tree-based model discussed at the beginning of this chapter.

I l @ ve RuBoard


XML and PHP
XML and PHP
ISBN: 0735712271
EAN: 2147483647
Year: 2002
Pages: 84

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