xsl-list
[Top] [All Lists]

Re: [xsl] Select name of XSD targetNamespace attribute

2014-03-29 17:43:24
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--