Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] xsl:copy- of and namespaces

From: Garvin Riensche <g.riensche@------->
To:
Date: 4/1/2008 5:52:00 PM
Thanks for your detailled answer! Now I figured out that my mistake was 
somewhere else.



regards,
Garvin
Garvin Riensche wrote:



how do I choose elements by their namespace?

  Assuming the following bindings are in scope in the stylesheet:



    xmlns:old="you-old-namespace-uri"
    xmlns:new="you-new-namespace-uri"

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.

  Regards,



--drkm
















































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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent