Summary
In this chapter you looked at ways to generate or use documents with a high level of structure. You saw how markup can generate HTML and XML documents and how the DOM extension can make creating XML documents much easier. We also touched on the new SimpleXML extension that can read and parse XML documents from the local hard drive or a remote server.
In addition, you tackled more advanced services and how to use XML with them. You looked at a common format for site syndication, RSS. This format is widely used to create news feeds, and we showed how you can build a simple web-based reader. After RSS you learned about WDDX and how you can use it to exchange complex data between servers or applications. Finally, you learned about SOAP and its ability to provide both data and a data definition, allowing the client to consume web services without prior knowledge about the service.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Editor information
Rights and permissions
Copyright information
© 2005 Lee Babin, Nathan A. Good, Frank M. Kromann, Jon Stephens
About this chapter
Cite this chapter
(2005). Working with Markup. In: Babin, L., Good, N.A., Kromann, F.M., Stephens, J. (eds) PHP 5 Recipes. A-Press. https://doi.org/10.1007/978-1-4302-0070-3_14
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0070-3_14
Publisher Name: A-Press
Print ISBN: 978-1-59059-509-1
Online ISBN: 978-1-4302-0070-3
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books