[I said a couple of minutes ago - I really meant to send the initial
response to Michael offlist, but as I started in public, I might as
well finish....]
Second, I moved the code to generate <a name="series..."> into the
template for archdesc/dsc/c01 (instead of having it in the template
for dsc/c01/did). So immediately before the apply-templates element
in the template for archdesc/dsc/c01, I added:
<A>
<xsl:attribute name="name">series
<xsl:eval>formatNumber(childNumber(this),"#")</xsl:eval>
</xsl:attribute>
</A>
Actually, it looks like the whitespace is significant in the above
template (I think that must be an IE5 glitch?), and you should _not_
have a newline character in the stylesheet between the second and
third or between the third and fourth lines above i.e. the middle
three lines above should be one line in the stylesheet.
Pete
====================================================
Pete Johnston (Effective Records Management Project)
Archives & Business Records Centre
University of Glasgow
77-87 Dumbarton Road
Glasgow G11 6PW E-Mail: [log in to unmask]
Scotland, U.K. URL: http://www.gla.ac.uk/InfoStrat/ERM/
Tel: (UK) 0141 339 8855 ext. 2166 or (UK) 0141-330-4159
Fax: (UK) 0141-330-4158
|