Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variables in template match

Status
Not open for further replies.

GIGN

Programmer
Oct 6, 2000
1,082
NZ
I need this to work, but it does not seem to like it:
<xsl:template match=&quot;ORDERS/FOLDER/ORDER[@orderNumber=$orderID]&quot;>


Otherwise I will have to match records, whcih isn't all that bad - just need to know if it possible to use variables in this way.

Thi is just for grabbing the relevant order record from the tree, by passing the unique orderID.

<bb/>
 
Actually, scratch that.

Another question, is there any way to escape? i.e. URLDecode?

<bb/>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top