www.altova.com
Previous  Top  Next

IAltovaXMLEngine


Basic interface for XMLValidator, XSLT 1.0, XSLT 2.0 and XQuery engines. Public interface that extends IReleasable.

 

Superinterface: IReleasable

Subinterface: XMLValidator, IXQuery, IXSLT

Implementing classes: XMLValidator, XQuery, XSLT1, XSLT2

 

 

Methods

The following methods are defined.

 

setInputXMLFileName

public void setInputXMLFileName(java.lang.String filename)

Sets the file name for the input XML data. Please note that you have to use absolute URLs.

Parameters:

filename: an absolute URL giving the base location of the XML data.

 

 

setInputXMLFromText

public void setInputXMLFromText(java.lang.String text)

Sets the text value for the input XML data. For example: setInputXMLFromText( "<doc> <a>text</a> </doc>" )

Parameters:

text: a string containing XML data.

 

 

getLastErrorMessage

public java.lang.String getLastErrorMessage()

Gets the last error message from the engine.

Returns:

a string containing the last error message.

 


Previous  Top  Next

© 2008 Altova