[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/domit/ -> xml_saxy_lite_parser.php (summary)

SAXY Lite is a non-validating, but lightweight and fast SAX parser for PHP, modelled on the Expat parser

Author: John Heinstein <johnkarl@nbnet.nb.ca>
Copyright: (C) 2004 John Heinstein. All rights reserved
License: http://www.gnu.org/copyleft/lesser.html LGPL License
Version: 1.0
File Size: 243 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 libraries/domit/xml_saxy_shared.php

Defines 1 class

SAXY_Lite_Parser:: (7 methods):
  SAXY_Lite_Parser()
  getVersion()
  preprocessXML()
  parse()
  parseTag()
  xml_get_error_code()
  xml_error_string()


Class: SAXY_Lite_Parser  - X-Ref

The SAX Parser class

SAXY_Lite_Parser()   X-Ref
Constructor for SAX parser


getVersion()   X-Ref
Returns the current version of SAXY Lite

return: Object The current version of SAXY Lite

preprocessXML($xmlText)   X-Ref
Processes the xml prolog, doctype, and any other nodes that exist outside of the main xml document

param: string The xml text to be processed
return: string The preprocessed xml text

parse($xmlText)   X-Ref
The controlling method for the parsing process

param: string The xml text to be processed
return: boolean True if parsing is successful

parseTag($tagText)   X-Ref
Parses an element tag

param: string The interior text of the element tag

xml_get_error_code()   X-Ref
Returns the current error code (non-functional for SAXY Lite)

return: int The current error code

xml_error_string($code)   X-Ref
Returns a textual description of the error code (non-functional for SAXY Lite)

param: int The error code
return: string The error message



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1