Page 1 of 1

Xalan nodeset extension in XSLT debugger

Posted: Wed Dec 21, 2005 10:38 pm
by wmillows

I am evaluating Oxygen 6.2. I am trying to debug
a xslt with nodeset extension. But, I've got the following error. I am using
Xalan 2.7.0. I've copied bsf.jar and js.jar to Oxygen/lib dir.

Description: The URI does not identify an external Java class

Posted: Thu Dec 22, 2005 1:04 pm
by sorin_ristache

That error message is generated when you run a stylesheet referencing a Xalan extension with the Saxon processor. The nodeset function is a built-in extension so you don't need additional jars. Just select Xalan instead of Saxon in the XSLT engine combo box of the control toolbar. For example the following stylesheet applied to any XML document

Code: Select all

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="" version="1.0"
xmlns:xalan="" exclude-result-prefixes="xalan">
<xsl:template match="/">
<xsl:variable name="rtf">
<xsl:for-each select="xalan:nodeset($rtf)/docelem//*">
<xsl:value-of select="name(.)"/>
should give the output:

Code: Select all