[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

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)
Re: How is this part of the XSLT specification to be  interp
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.