com.novell.xsl
Interface XmlHook


public interface XmlHook

Interface called when an XML document is loaded via xsl:include, xsl:import, or the XSLT document() function.

See Also:
Stylesheet.setXmlHook(com.novell.xsl.XmlHook)

Method Summary
 Document processDocument(Document doc)
          Process a document.
 

Method Detail

processDocument

public Document processDocument(Document doc)
                         throws Exception
Process a document. The returned document may be a separate instance from the parameter, or it may be the same instance.

Parameters:
doc - Document loaded from xsl:include, xsl:import, or document.
Returns:
Document to use
Throws:
Exception