[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: XPath for matching multiple child elements
Subject: Re: XPath for matching multiple child elements|
From: "Will McCutchen" <mccutchen@xxxxxxxxx>
Date: Thu, 28 Sep 2006 12:22:45 -0500
On 9/28/06, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
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)]">
That's exactly the kind of short cut I was looking for! Thanks a lot
for your suggestion.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format