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

Re: xsl:copy- of and namespaces

Subject: Re: xsl:copy- of and namespaces
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 1 Apr 2008 19:29:08 +0200 (CEST)
Re:  xsl:copy- of and namespaces
Garvin Riensche wrote:

> how do I choose elements by their namespace?

  Assuming the following bindings are in scope in the stylesheet:


you can use the following XPath expression (or match patterns):

    old:elem (: select element named 'elem' in old ns :)
    new:elem (: select element named 'elem' in new ns :)
    old:*    (: select any element in old ns :)
    new:*    (: select any element in new ns :)
    *:elem   (: select element named 'elem' in any ns :)

  If you still have a problem, please post the relevant part of your
stylesheet and of your input, as well as the required output.



Envoyez avec Yahoo! Mail. Plus de moyens pour rester en contact. http://mail.yahoo.fr

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.