XML_DTD
[ class tree: XML_DTD ] [ index: XML_DTD ] [ all elements ]

Class: XML_DTD_XmlParser

Source Location: /XML_DTD-0.5.2/DTD/XmlParser.php

Class Overview

XML_Parser
   |
   --XML_DTD_XmlParser

XML_DTD_XmlParser


Author(s):

Copyright:

  • 2008 Igor Feghali

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 74]
XML_DTD_XmlParser

Usage:

  1.  $nodes =XML_DTD_XmlParser::factory('file.xml');
  2.  if (PEAR::isError($nodes)) {
  3.      die($nodes->getMessage());
  4.  }



[ Top ]


Class Variables

$children = array()

[line 76]


Type:   mixed


[ Top ]

$folding =  true

[line 78]


Type:   mixed


[ Top ]

$ptr =  null

[line 77]


Type:   mixed


[ Top ]



Method Detail

XML_DTD_XmlParser (Constructor)   [line 88]

void XML_DTD_XmlParser( )

XML_DTD_XmlParser::XmlParser()

Constructor, not to be used. Use factory() instead.

  • Access: public

[ Top ]

factory   [line 104]

object Instance factory( string $xml)

XML_DTD_XmlParser::factory()

Parses a XML file and returns its "skeleton".

  • Return: of XML_DTD_XmlElement containing root
  • Access: public

Parameters:

string   $xml   —  Path to XML file

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:31:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.