Subject: Re: [xsl] XPath for matching multiple child elements|
From: "Will McCutchen" <mccutchen@xxxxxxxxx>
Date: Thu, 28 Sep 2006 12:22:45 -0500
But it's free enough to support a bit of a workaround, even if you have no schema:
<xsl:variable name="comment-elements" select="//comments//(h1|p|b|i)"/>
<xsl:template match="*[exists(. intersect $comment-elements)]"> ... </xsl:template>
That's exactly the kind of short cut I was looking for! Thanks a lot for your suggestion.