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

Re: Re: Output validation with XSLT 2.0

Subject: Re: Re: Output validation with XSLT 2.0
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Mon, 5 May 2008 20:44:43 +0100
Re:  Re: Output validation with XSLT 2.0
On 05/05/2008, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > The "xs" namespace is a bit odd in that it's known to
>  > processors, like the "xsl" namespace,  but unlike the xsl
>  > namespace it makes it into the result tree and requires pruning.
> The reason for this: if the "xs" namespace had been excluded by default, we
>  would have had do something special for users who want to generate something
>  like <d xsi:type="xs:date"/>.

If it was excluded by default, could you not override that by
explicitly declaring it - for example on the output root element?  But
then you'd need to declare it twice if you really wanted it in the

Or perhaps use namespace-alias, just like when you really need the xsl
namespace in the output.

Either way not great, but maybe preferable to have to work a bit
harder in the special case, rather then every time for every

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

Current Thread


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.
First Name
Last Name
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.