[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to query a temporary document in a variable


Subject: Re: [xsl] How to query a temporary document in a variable
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 10 Sep 2012 14:45:59 +0100

> So in my case this will work:
> <xsl:value-of xpath-default-namespace=""
> select="$propertyMap/entry[@key='foo']" />

Yep

- or by using $propertyMap/*:entry

- or declaring the namespace with a prefix in your stylesheet and then
using that eg $propertyMap/aaa:ent

- or by not using xpath-default-namespace at all


-- 
Andrew Welch
http://andrewjwelch.com


Current Thread