Hello!
I am trying to create an extension that will accept a Result Tree
Fragment as it's argument. From the Xalan Extensions doc on the site, I
gathered this is of type org.w3c.dom.DocumentFragment and I created a
method that accepts this argument. The processor is unable to find this
method, however.
As a sanity check just to make sure that the class and method were
found, I changed the method to accept a String and it worked fine.
<java-source>
public String parse( DocumentFragment frag ) {
return "running parse( )" ;
}
</java-source>
<xsl-source>
<xsl:variable name="tree-frag">
<new-element>
<child />
</new-element>
</xsl:variable>
<xsl:value-of select="ext:parse( $tree-frag )" />
</xsl-source>
Should this work?
Thanks in advance for any help!
--jah
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\\\|/// Jason Heddings ((
\\ ~ ~ // 303.272.5166 (x75166) C|~~|
(/ @ @ /) [EMAIL PROTECTED] `__'
~~oOOo~(_)~oOOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~