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

Class: XmlLib_xmlParser

Source Location: /classes/xmllib.php

Class Overview


The xml-parser. Used to parse a document into a tree of nodes.


Author(s):

Methods



Class Details

[line 777]
The xml-parser. Used to parse a document into a tree of nodes.



Tags:

access:  public


[ Top ]


Class Methods


constructor XmlLib_xmlParser [line 804]

XmlLib_xmlParser XmlLib_xmlParser( [string $filename = null], [boolean $casefolding = false])

Constructor



Parameters:

string   $filename   If a filename is given, the document will be loaded and prepared
boolean   $casefolding   If true, uppercase nodenames and attributenames are converted to lowercase

[ Top ]

method getDocument [line 895]

XmlLib_Node getDocument( )

Parses the loaded document



Tags:

return:  The rootnode of the document


[ Top ]

method loadFromFile [line 816]

void loadFromFile( string $filename)

Loads and prepares a file



Parameters:

string   $filename   name of the file

[ Top ]

method loadFromString [line 838]

void loadFromString( string $contents)

Loads a xml-document and prepares the parsing



Parameters:

string   $contents   the document

[ Top ]


Documentation generated on Tue, 30 May 2006 20:20:00 +0000 by phpDocumentor 1.3.0RC4