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

Re: XSL and Namespace

Subject: Re: XSL and Namespace
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Mon, 28 May 2001 21:21:01 +0100
jeni perry
Hi Perry,

> I am using a namespace called "documentation" in my XSL which I process with
> its own XSL to produce html documentation for the XSL file. The following
> code snippet causes an error when using Saxon (both Instant and 6.1),
> telling me that the import tags need to be the first tags after the
> xsl:stylesheet element, however Xalan and MSXML 3 process without error. The
> spec says <xsl:import> has to be the first element but does it have to be
> the first element of all namespaces?

The XSLT Recommendation says:

   "The xsl:import element children must precede all other element
   children of an xsl:stylesheet element, including any xsl:include
   element children."

It doesn't predicate the 'element children' of the xsl:stylesheet
element as being 'XSLT element children' or 'element children in the
XSLT namespace'.  So, strictly, you can't have any other element
children, no matter what namespace, before xsl:import elements.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



 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.