Hi Steven,
I have some keys declared for easy access to the attributes declared for
a specific element, and to retrieve the contentModels in which an
element is referred to:
<xsl:key name="attlistbyname" match="/dtd/attlist" use="@ename"/>
<xsl:key name="contentmodelbychildren" match="//contentModel"
use="descendant::element/@name"/>
[A // beginning a pattern (match attribute) is always superfluous --
you're matching "any contentModel element that is a descendant of the
root node" when you may as well match "any contentModel element" since
all elements must be descendants of the root node by definition.]
Jeni,