[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Select name of XSD targetNamespace attribute
Subject: Re: [xsl] Select name of XSD targetNamespace attribute From: Philipp Kursawe <phil.kursawe@xxxxxxxxx> Date: Sun, 30 Mar 2014 00:39:47 +0100 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Select name of XSD target, David Carlisle | Thread | Re: [xsl] Select name of XSD target, Abel Braaksma (Exsel |
Re: [xsl] What is the Core of XSLT?, Abel Braaksma (Exsel | Date | Re: [xsl] What is the Core of XSLT?, Dimitre Novatchev |
Month |