XML

Mozilla provides a number of XML features. The nsIXMLHttpRequest, nsIDOMParser nsIDOMSerializer interfaces can be used to load, parse and serialize XML. These interfaces are directly available in JavaScript, so you don't need to use the XPCOM interfaces direcly.

Use the nsIXSLTProcessor interface to apply an XSLT file to a document. Use the nsIXPointerEvaluator and nsIFIXPtrEvaluator interfaces to evaluate XPointers and FIXPtrs.

Jump to:


Interfaces

The following XML interfaces are available.

nsIDOMParser
nsIDOMSerializer
nsIExpatSink
nsIFIXptrEvaluator
nsIJSXMLHttpRequest
nsIModifyableXPointerResult
nsIOnReadyStateChangeHandler
nsIXMLHttpRequest
nsIXPointerEvaluator
nsIXPointerResult
nsIXPointerSchemeContext
nsIXPointerSchemeProcessor
nsIXSLTException
nsIXSLTProcessor
nsIXSLTProcessorObsolete

Components

The following XML components are available.

@mozilla.org/document-transformer;1?type=text/xsl
@mozilla.org/document-transformer;1?type=text/xslt
@mozilla.org/document-transformer;1?type=xslt
@mozilla.org/parser/parser-service;1
@mozilla.org/transformiix-domci-extender;1
@mozilla.org/xml/xpointer;1?scheme=xpath1
@mozilla.org/xmlextras-domci-extender;1
@mozilla.org/xmlextras/domparser;1
@mozilla.org/xmlextras/fixptrevaluator;1
@mozilla.org/xmlextras/xmlhttprequest;1
@mozilla.org/xmlextras/xmlserializer;1
@mozilla.org/xmlextras/xpointerevaluator;1
@mozilla.org/xmlextras/xpointerresult;1

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com