[xsl] Keys

Subject: [xsl] Keys
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Sep 2004 22:43:07 -0700
How do you manage this sort of key:
<xsl:key name="attType"
match="/root/*/xml/s:Schema/s:ElementType/s:AttributeType"
use="/root/*[@name()]"/>

I am trying to create a "USE" on a specific node who's name can very so:

root/class
root/house
root/bird

This select works great:
<xsl:for-each
select="/root/*[name()=$TABLE_NAME]/xml/s:Schema/s:ElementType/s:AttributeTy
pe">

Where $TABLE_NAME is a variable.

Karl

Current Thread