This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How is this part of the XSLT specification to be interpreted?
- To: xsl-list at mulberrytech dot com
- Subject: Re: How is this part of the XSLT specification to be interpreted?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 21 Jun 2000 12:26:37 +0100 (BST)
- References: <39B19660C174D311BB9000A0C9E01C3F317E4A@corfu.rnib.org.uk>
- Reply-To: xsl-list at mulberrytech dot com
> Saxon gets fussy and starts asking for the class file to
> process the doc namespace stuff.
Not if you give it a fallnback it doesn't (see my example)
extension-element-prefixes="doc"
exclude-result-prefixes="doc" >
I don't think you should specify both of these (extension element
namespaces are already excluded)
<doc:title>Documentation for test stylesheet</doc:title>
This is (I think) a non XSL namespace at the top level so ignored.
Extension elements are not allowed at the top level, so I am not quite
sure whether it just isn't an extension element in this context, or if
it is an error.
<xsl:template match="/">
<!--
<xsl:if test="$documentation">
<doc:title>Documentation for test stylesheet</doc:title>
That is an error as the xsl engine can't handle the doc extension, you
need to provide a falback.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list