File/xml-defs.php

Description
Classes
Class Description
 class xmltag The XML tag class. This class encapsulates the functionality of an XML tag. It can accept child classes, usually of the same class, which will be rendered as child XML elements. A whole XML hierarchy can thus be represented in a single xmltag object.
 class xmlparser Class comprising the functionality of an XML parser. You should build specific parsers by inheriting this class and building your custom handler methods to handle the XML content.
Functions
xmldata (line 175)

Returns a value for XML compliant data transfer. If the value has any of the chars: "<", ">" or "&" in it, then we enclose it in a CDATA construct.

  • return: The XML-compliant data value
string xmldata (string $val)
  • string $val: The value to return as an XML data value
xmldump (line 203)

Processes an assumed XML string to a format where it can be safely viewed as a debugging dump in a browser et al.

  • return: The safe-to-display XML debugging representation
string xmldump (string $xml)
  • string $xml: The XML string to process
xmlheader (line 192)

Returns the XML header string.

  • return: The <?xml...> header string.
string xmlheader ([string $version = "1.0"], [string $encoding = "utf-8"])
  • string $version: The XML version to declare in the header.
  • string $encoding: The XML encoding standard to declare.

Documentation generated by phpDocumentor 1.3.0RC3