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

Re: Select name of XSD targetNamespace attribute

Subject: Re: Select name of XSD targetNamespace attribute
From: Philipp Kursawe <phil.kursawe@xxxxxxxxx>
Date: Sun, 30 Mar 2014 00:39:47 +0100
Re:  Select name of XSD targetNamespace attribute
That's unbelievable that MS hasn't picked up on XSLT 2.0 yet.

Anyway, your xpath selector works now! Much appreciated!

On Sat, Mar 29, 2014 at 10:44 PM, David Carlisle <davidc@xxxxxxxxx> wrote:
> On 29/03/2014 20:38, Philipp Kursawe wrote:
>>
>>   And I am not sure what version they use in
>> WinRT Windows.Data.Xml.Dom
>
>
> All MS implementations are XSLT/XPath 1.
>
> However you can write it in xslt1 as
>
> <xsl:value-of
> select="local-name(namespace::*[.=current()/@targetNamespace])"/>
>
> (which will only give you the first, should the same namespace be declared
> twice with two different prefixes)
>
>
> David

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.