<xsl:document> and xalan

  • Thread starter Papastefanos Serafeim
  • Start date
P

Papastefanos Serafeim

I want to use the <xsl:document> XSLT command with xalan,
but I get the following error message
 
M

Martin Honnen

Papastefanos said:
I want to use the <xsl:document> XSLT command with xalan,
but I get the following error message

--------
XSLT Error (javax.xml.transform.TransformerConfigurationException):
javax.xml.transform.TransformerException:javax.xml.transform.TransformerException:
xsl:document is not allowed in this position in the stylesheet!
--------

XSLT 1.0 does not have xsl:document, see the commands listed at
The same transformation works fine with saxon ! What should I do ?

so if Saxon supports that then probably as an extension or as part of
XSLT 1.1 (which never became a recommendation).
Some of the Xalan extensions are listed here:
<http://xml.apache.org/xalan-j/extensionslib.html>
but I don't see anything like xsl:document there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,250
Members
46,848
Latest member
Graciela Mitchell

Latest Threads

Top