|
Subject: Re: [xsl] Evaluate string as XPATH axis in XSLT1.0? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Mon, 20 Aug 2007 08:33:13 +0200 |
Hi,
I'm trying to resolve a node attribute which contains an XPATH fragment to actually resolve that path to a value. Is this possible.
XML with attribute looks like...
<grid-map map="./foo[@bar]/select" />
XSLT looks like...
<xsl:variable name="path" select="../grid/grid-map[1]/@map"/>
<xsl:value-of select="{$path}" />
Cheers, -- Abel Braaksma
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Evaluate string as XPATH axis, Matt Poff | Thread | RE: [xsl] Evaluate string as XPATH , Michael Kay |
| [xsl] Evaluate string as XPATH axis, Matt Poff | Date | [xsl] Connecting the Source and Des, Yaswanth |
| Month |