Re: How is this part of the XSLT specification to be interpreted ?

Subject: Re: How is this part of the XSLT specification to be interpreted ?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 21 Jun 2000 12:26:37 +0100 (BST)
> 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


Current Thread