This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [docbook-apps] XSLT/XPath question


> -----Original Message-----
> From: Jeroen Alblas [mailto:jeroena@infosupport.com]
> 
> I've created an XSLT variable using a select:
> <xsl:variable name="x" select="/somenode"/>
> 
> Say this 'somenode' looks like this:
> somenode/one/two/three
> 
> Now I want to combine the variable with some Xpath expression:
> <xsl:apply-templates select="$x/somenode/one/*/two" />
> 
> Is this possible? It's doens't work like this anyway...
> 

Does it work like this?:

<xsl:apply-templates select="${x}/somenode/one/*/two" />

Kind regards
Gisbert Amm
http://web.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]