I’m currently at work on an XSL stylesheet for transforming a finding aid to html. The following line selects any instance of a head tag and lists it in my table of contents.
<xsl:for-each select="c01 | *[head]">
Say there’s ONE head I’d like it not to select. Is that possible?
Thanks!
As per comments:
This is an XPath question. Use:
This XPath will select all elements in the context except
controlaccessand having at least anheadchild tag.Your final for each but ONE: