You are here

function XMLParser::XMLParser in Asset 5

Same name and namespace in other branches
  1. 6 asset_youtube/xmlparser.class.php \XMLParser::XMLParser()
  2. 6 asset_youtube/inc/xmlparser.class.php \XMLParser::XMLParser()

Constructor. Loads XML document.

Parameters

string $xml The string of the XML document:

Return value

XMLParser

File

asset_youtube/xmlparser.class.php, line 63

Class

XMLParser
XML Parser Class (php4)

Code

function XMLParser($xml = '') {

  //Load XML document
  $this->xml = $xml;

  // Set stack to an array
  $this->stack = array();
}