phpDocumentor Examples
[ class tree: Examples ] [ index: Examples ] [ all elements ]

Procedural File: xml.php

Source Location: /examples/xml.php

Page Details

Using QueryPath.

This file contains an example of how QueryPath can be used to generate XML.

QueryPath's ability to handle arbitrary XML comes in handy. Fragments of HTML can be composed as external XML documents, and then inserted selectively into an HTML document as needed. Just remember: Ever XML document -- even just a string -- needs to begin with the XML declaration:

  1.  <? xml version="1.0"?>
(A space was inserted above to prevent the documentation renderer from misinterpreting it.)

Author:  M Butcher <matt@aleph-null.tv>
Filesource:  Source Code for this file
License:  LGPL
Includes
require_once ('../src/QueryPath/QueryPath.php') [line 22]
[ Top ]



Documentation generated on Tue, 04 Aug 2009 23:24:27 -0500 by phpDocumentor 1.4.2