xsl-list
[Top] [All Lists]

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

2012-09-10 08:46:11
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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>