xml/ XmlSax.jsan XML SAX parser in JavaScript. Version3.1 Copyright
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Visit the XML for <SCRIPT> home page at http://xmljs.sourceforge.net CONSTANTS Summary
SAXDriveran object that basically wraps an XMLP instance, and provides an event-based interface for parsing. This is the object users interact with when coding with XML for <SCRIPT> Author: Scott Severtson Summary
SAXStringsa useful object containing string manipulation functions This is the constructor of the SAXStrings object Author: Scott Severtson Summary
isEmpty
Author: mi@idle .org ke Descriptionconvenience function to identify an empty string trim
Author: may@psu .edu 106 Descriptionhelper function to trip a string (trimString) of leading (leftTrim) and trailing (rightTrim) whitespace |
Author: Scott Severtson
XMLP.prototype._addAttribute = function( name, value )
Author: Scott Severtson
XMLP.prototype._checkStructure = function( iEvent )
Author: Scott Severtson
XMLP.prototype._clearAttributes = function()
Author: Scott Severtson
XMLP.prototype._findAttributeIndex = function( name )
Author: Scott Severtson
XMLP.prototype.getAttributeCount = function()
Author: Scott Severtson
XMLP.prototype.getAttributeName = function( index )
Author: Scott Severtson
XMLP.prototype.getAttributeValue = function( index )
Author: Scott Severtson
XMLP.prototype.getAttributeValueByName = function( name )
Author: Scott Severtson
XMLP.prototype.getColumnNumber = function()
Author: Scott Severtson
XMLP.prototype.getContent = function()
Author: Scott Severtson
XMLP.prototype.getContentBegin = function()
Author: Scott Severtson
XMLP.prototype.getContentEnd = function()
Author: Scott Severtson
XMLP.prototype.getLineNumber = function()
Author: Scott Severtson
XMLP.prototype.getName = function()
Author: Scott Severtson
XMLP.prototype.next = function()
Author: Scott Severtson
XMLP.prototype._parse = function()
Author: Scott Severtson
XMLP.prototype._parseAttribute = function( iB, iE )
Author: Scott Severtson
XMLP.prototype._parseCDATA = function( iB )
Author: Scott Severtson
XMLP.prototype._parseComment = function( iB )
Author: Scott Severtson
XMLP.prototype._parseDTD = function( iB )
Author: Scott Severtson
XMLP.prototype._parseElement = function( iB )
Author: Scott Severtson
XMLP.prototype._parseEntity = function( iB )
Author: Scott Severtson
XMLP.prototype._parsePI = function( iB )
Author: Scott Severtson
XMLP.prototype._parseText = function( iB )
Author: Scott Severtson
XMLP.prototype._replaceEntities = function( strD, iB, iE )
Author: Scott Severtson
XMLP.prototype._replaceEntity = function( strD, iB, iE )
Author: Scott Severtson
XMLP.prototype._setContent = function( iSrc )
Author: Scott Severtson
XMLP.prototype._setErr = function( iErr )
Author: Scott Severtson
SAXDriver.prototype.parse = function( strD )
Author: Scott Severtson
SAXDriver.prototype.setDocumentHandler = function( hnd )
Author: Scott Severtson
SAXDriver.prototype.setErrorHandler = function( hnd )
Author: Scott Severtson
SAXDriver.prototype.setLexicalHandler = function( hnd )
Author: Scott Severtson
SAXDriver.prototype.getLineNumber = function()
Author: Scott Severtson
SAXDriver.prototype.getMessage = function()
Author: Scott Severtson
SAXDriver.prototype.getSystemId = function()
Author: Scott Severtson
SAXDriver.prototype.getLength = function()
Author: Scott Severtson
SAXDriver.prototype.getName = function( index )
Author: Scott Severtson
SAXDriver.prototype.getValue = function( index )
Author: Scott Severtson
SAXDriver.prototype.getValueByName = function( name )
Author: Scott Severtson
SAXDriver.prototype._fireError = function( strMsg )
Author: Scott Severtson
SAXDriver.prototype._fireEvent = function( iEvt )
Author: Scott Severtson
SAXDriver.prototype._parseLoop = function( parser )
Author: Scott Severtson
SAXStrings.getLineNumber = function( strD, iP )
Author: Scott Severtson
SAXStrings.indexOfNonWhitespace = function( strD, iB, iE )
Author: Scott Severtson
SAXStrings.indexOfWhitespace = function( strD, iB, iE )
Author: Scott Severtson
SAXStrings.isEmpty = function( strD )
Author: Scott Severtson
SAXStrings.replace = function( strD, iB, iE, strF, strR )
Author: Scott Severtson
Stack.prototype.clear = function()
Author: Scott Severtson
Stack.prototype.count = function()
Author: Scott Severtson
Stack.prototype.destroy = function()
Author: Scott Severtson
Stack.prototype.peek = function()
Author: Scott Severtson
Stack.prototype.pop = function()
Author: Scott Severtson
Stack.prototype.push = function( o )
Author: mi ke@idle .org
function isEmpty( str )
Author: may 106@psu .edu
function trim( trimString, leftTrim, rightTrim )