Subject: [xsl] Embedding parameters into XPATH From: "Hellstern, Manny" <manny.hellstern@xxxxxxxxxxxxxx> Date: Mon, 5 Aug 2002 14:49:44 -0500 |
Is it possible to embed a parameter name into an XPATH expression? XML File: <LEVEL> <DUMP> <TEST> <VALUE>100</VALUE> </TEST> <TEST> <VALUE>200</VALUE> </TEST> </DUMP> </LEVEL> Example: if param1 is set to TEST then I want to use something like <xsl:apply-templates select="//$param1/VALUE" /> which executes as <xsl:apply-templates select="//TEST/VALUE" /> I'm hoping that its simply a syntax issue. Thanks in advance. Manny Hellstern Houston, Tx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSL-List guidelines - changed, Mulberry Technologie | Thread | Re: [xsl] Embedding parameters into, Thomas B. Passin |
[xsl] XSL-List guidelines - changed, Mulberry Technologie | Date | Re: [xsl] Embedding parameters into, Thomas B. Passin |
Month |