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

Re: copy-namespace attribute in XSLT 1.0

Subject: Re: copy-namespace attribute in XSLT 1.0
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 10 Sep 2012 11:00:54 +0100
Re:  copy-namespace attribute in XSLT 1.0
Yes, this is correct behaviour. Backwards compatibility mode affects the result of certain 1.0 constructs (for example, it causes xsl:value-of to ignore all but the first selected item) but it does not affect the way a 2.0 processor handles 2.0 constructs.

Michael Kay
Saxonica


On 10/09/2012 10:54, Ihe Onwuka wrote:
I have just encountered code that uses the copy-namespace attribute on
a stylesheet that is being processed with an XSLT 2.0 processor but
has the xsl:stylesheet version attribute set to 1.0.

It runs without complaint (although with data that does not exercise
that precise piece of code), is this correct behaviour when running in
backward compatibility mode.

ihe

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.