XML Parsing with PHP: a php[architect] guide
Authors: John M Stokes
ISBN-10: 1940111161
ISBN-13: 9781940111162
Publication Date 出版日期: 2015-04-20
Print Length 页数: 228 pages
Book Description
By finelybook
Since its introduction in 1998,XML has become an indispensable technology for exchanging data and operating across heterogeneous systems. Whether you’re sharing calendar events,importing syndication feeds,or querying an external API,XML is usually one of the formats available for consumption. Early versions of PHP provided extensions for working with XML,but it wasn’t until the introduction of SimpleXML,DOM,XMLReader,and XMLWriter in PHP 5 that working with XML was streamlined. XML Parsing with PHP,edited and produced by php[architect],provides a comprehensive survey of the classes and functionality available for working with XML. This edition covers parsing and validating XML documents,leveraging XPath expressions,and working with namespaces as well as how to create and modify XML files programmatically. Each chapter contains examples illustrating how to use the different XML extensions at your disposal. Topics covered:
SimpleXML
DOM
XMLReader & XMLWriter
XML Basics
Namespaces in XML documents
Working with syndication feeds
REST,SOAP,and WSDL
Validation with DTDs,RelaxNG,and XML Schema
Written by PHP professional John M. Stokes,this book provides an easy-to-use reference for working with XML.