Parsing, Validating and Saving Data from Complex XML Streams

Stands for Extensible Markup Language, Similar to HTML: plain text using “<” and “>” to delimit markup, Markup components are named for the data they contain, Became popular because it’s a self explanatory way to transmit data

More PDF Content

Parsing, Validating and Saving Data from Complex XML Streams: Lessons Learned While Developing ST Parser

  • Project background
  • Explain a bit about XML
  • Quick points regarding various parsers
  • Demonstration of using PHP\’s SAX based parser
  • Validation
  • What is XML?
  • XML Data: Sample and Explanation
  • XML Declaration: specifies the version of XML being used
  • Elements are the building blocks of XML
  • General Parser Types
  • SAX (Simple API for XML)
  • DOM XML (Document Object Model)
  • SimpleXML
  • Experimental in PHP 4
  • DOM XML
  • Other Stable Extensions for PHP 5
  • SAX Parser Concepts
  • PHP\’s SAX Parsers
  • Concepts for programming a parser
  • Parser: Start Tag Handler
  • Parser: End Tag Handler
  • Validation: Put Types Into Arrays
  • Validation: Resulting Arrays
  • Validation: Performing the Check
  • Appendix: Obtaining the XML
  • Appendix: Query String Generation
  • Appendix: Query Execution
  • Appendix: Unsetting Old Data
  • Appendix: $RootElements Array
  • Appendix: $DataFields Array
  • Appendix: $DataTypes Array

 

Download Parsing, Validating and Saving Data from Complex XML Streams pdf from static.nyphp.org, 27 pages, 92.96KB.
Related Books

Leave a Reply