This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]