Hi Mike,
You could also use something like:
Match="z:row[(_at_)Type='Matrix']/z:row[(_at_)MatrixOpt='1' or @MatrixOpt='5' or
@MatrixOpt='6']"
Hope this helps you.
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of
Michael
Semcheski
Sent: segunda-feira, 20 de Janeiro de 2003 15:01
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Match Question
Hi,
I was wondering what kind of responses I would get to this question... I
have a template whose match looks kind of like this:
match="z:row[(_at_)Type='Matrix']/z:row[(_at_)MatrixOpt='1']
| z:row[(_at_)Type='Matrix']/z:row[(_at_)MatrixOpt='5']
| z:row[(_at_)Type='Matrix']/z:row[(_at_)MatrixOpt='6']"
(I added the line breaks to make it a little easier to read.) Basically,
this seems like a cumbersome way to write this rule. Any suggestions?
Mike
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list