[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Variable in XPath
Garvin Riensche wrote:
Hi Abel, See my last reply. You can use the test case in your xsl:template match rule, of course. Like this: <xsl:template match="class [($id, @id)[1] = @id] [($owner, @owner)[1] = @owner] [($etc, @etc)[1] = @etc]...." > here comes the stuff you want to do for every class that matches this predicate </xsl:template> <xsl:template match="class"> nothing matched </xsl:template> -- Abel
|
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
|