public marks

PUBLIC MARKS from solrac with tags web & xml

2010

6 tips for using the XML flavor of HTML5

Because of HTML5's momentum, it is now a technology that every XML developer has to deal with. Fortunately HTML5 supports a proper XML serialization. Learn aboutthe XML form of HTML5 including some key differences from older XHTML conventions and learn how to practically apply this vocabulary in modern web browsers.

2007

PHP5's special XML parsing techniques for complex docs

PHP5 offers an improved variety of XML parsing techniques. James Clark's Expat SAX parser, now based on libxml2, is no longer the only fully functional game in town. Parsing with the DOM, fully compliant with the W3C standard, is a familiar option. Both SimpleXML, and XMLReader, which is easier and faster than SAX, offer additional parsing approaches. This article will cover PHP5's improved XML parsing techniques, focusing on parsing large or complex XML documents.

Memory-efficient XML parsing in PHP with XMLReader

PHP 5 introduced XMLReader, a new class for reading Extensible Markup Language (XML). Unlike SimpleXML or the Document Object Model (DOM), XMLReader operates in streaming mode, which enables PHP pages to process XML documents in an efficient streaming mode. That is, it reads the document from start to finish. This makes it very fast, and very efficient.