array_to_xml_tree (line 110)
This function converts an array to an xml document.
void
array_to_xml_tree
(array $arr, string 1)
xml_ctag (line 53)
This builds an xml tag, just as xml_tag() does, but turns on the auto wrapping of CDATA for the content for the tag.
XMLTagClass
&xml_ctag
(
string $name, [
array $attributes =
array()],
mixed 2)
-
mixed
2: - any content that lives in the PCDATA portion of the XML tag
-
string
$name: - the xml tag name
-
array
$attributes: - the name="value" pairs of tag attributes
xml_doctype (line 72)
This function is used to build a DOCTYPE tag
DOCTYPEtag
xml_doctype
(
string $doc_element, [
string $source =
"PUBLIC"], [
string $link1 =
NULL], [
string $link2 =
NULL])
-
string
$doc_element: - the document element name (ie. 'HTML')
-
string
$source: - the source (ie. 'PUBLIC')
-
string
$link1: - link 1 (ie. '-//W3C//DTD XHTML 1.0 Transitional//EN' )
-
string
$link2: - link 2 (ie. 'DTD/xhtml1-transitional.dtd' )
xml_stylesheet (line 96)
This function is used to build an xml-stylesheet tag
-
string
$href: - the href attribute
-
string
$type: - the type attribute
xml_tag (line 31)
This is a simple wrapper function for building XMLTagClass objects
XMLTagClass
&xml_tag
(
string $name, [
array $attributes =
array()],
mixed 2)
-
mixed
2: - any content that lives in the PCDATA portion of the XML tag
-
string
$name: - the xml tag name
-
array
$attributes: - the name="value" pairs of tag attributes