Hi,
Using a data structure of:
<ead>
<archdesc>
...
</archdesc>
</ead>
In my data structure, a <extref> element can occur virtually anywhere inside an element named <archdesc> and might look something like.
<extref href="">...</extref>
A general xslt template for processing <archdesc> works just fine, by having a simple template:
<xsl:template match="/ead">
<html>
<body>
<xsl:apply-templates select="archdesc"/>
</body>
</html>
</xsl:template>
and to cover the occurrence of <extref> virtually anywhere inside <archdesc>, my stylesheet has another template:
<xsl:template match="//extref">
<a href="{@href}">
<xsl:value-of select="."/>
</a>
</xsl:template>
However, when I run the XML through the stylesheet, all of the instructions in the template for archdesc execute just fine, but the instructions for //extref are ignored.
Any suggestions?
Thanks,
Chuck Thomas