Class

XMLXsltHandler


Description

Used to handle SAX (Simple API for XML) style events on the XML output of an XSLT transformation.

Events

Name

Parameters

Returns

Characters

Contents As String

Comment

Contents As String

EndDocument

EndElement

Name As String

EndNamespace

Prefix As String

ProcessingInstruction

Target As String, Contents As String

StartDocument

StartElementName

Name As String, AttributeList As XMLAttributeList

StartNamespace

Prefix As String, URI As String

Event descriptions


XMLXsltHandler.Characters

Characters(Contents As String)

Called at character data.


XMLXsltHandler.Comment

Comment(Contents As String)

Called at an XML comment.


XMLXsltHandler.EndDocument

EndDocument

Called at the end of the document.


XMLXsltHandler.EndElement

EndElement(Name As String)

Called at the end of an element.


XMLXsltHandler.EndNamespace

EndNamespace(Prefix As String)

Called at the end of a namespace declaration.


XMLXsltHandler.ProcessingInstruction

ProcessingInstruction(Target As String, Contents As String)

Called at an XML processing instruction.


XMLXsltHandler.StartDocument

StartDocument

Called at the beginning of the document.


XMLXsltHandler.StartElementName

StartElementName(Name As String, AttributeList As XMLAttributeList)

Called at the beginning of an element.


XMLXsltHandler.StartNamespace

StartNamespace(Prefix As String, URI As String)

Called at the beginning of a namespace declaration.

Notes

To use XMLXsltHandler, create a subclass and add code to the event handlers. Then pass an instance of your subclass to the XMLDocument.Transform method.

Compatibility

Desktop, console, web and iOS project types on all supported operating systems.

See also

Object parent class; XMLDocument class, XMLDocument.Transform method.