Summary
In this article we have discussed the use of PHP to create and handle
XML documents, in the form of WDDX packets.
PHP handles WDDX packets well and without much coding, because it includes
support in the core language.
If you will only use one XML application: WDDX, then that is all the XML
processing you need.
XML documents, in the form of WDDX packets.
PHP handles WDDX packets well and without much coding, because it includes
support in the core language.
If you will only use one XML application: WDDX, then that is all the XML
processing you need.
But because in real life you will need to deal with a
variety of XML document types, PHP also provides (by using the Expat library)
functions to define your own parsing functions, giving you an astonishing
degree of flexibility. The examples here should be but the starting point in
your quest for processing XML data from different sources, and I hope that
even in their simplicity, they will serve as
inspiration for your own creations.
variety of XML document types, PHP also provides (by using the Expat library)
functions to define your own parsing functions, giving you an astonishing
degree of flexibility. The examples here should be but the starting point in
your quest for processing XML data from different sources, and I hope that
even in their simplicity, they will serve as
inspiration for your own creations.
In the following articles we will be discussing the creation and use of XML
parsers, and the use of XML to something more than data encapsulation:
XML-RPC.
parsers, and the use of XML to something more than data encapsulation:
XML-RPC.
Suggested Reading
- “XML
Applications” (ISBN: 1861001525), Nov 1998 published by Wrox Press. - “XML
for the absolute beginner” by Mark Johnson. - “XML,
Java and the Future on the Web” by Jon Bosak. - “
Media-Independent Publishing: Four Myths about XML” by Jon Bosak. - Robin Cover’s XML/SGML site.
- IBM’s XML web site.
- The WDDX site.
- The W3C’s XML resource page.
- The XML Industry Portal (XML.org).
- The Organization for the Advancement
of Structured Information Standards (OASIS). - XML.com.
- The XML-CML web site.
- Microsoft’s XML
pages.