RE: [xsl] Match Question

Subject: RE: [xsl] Match Question
From: Américo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx>
Date: Mon, 20 Jan 2003 15:41:58 -0000
Hi Mike,
You could also use something like:
Match="z:row[@Type='Matrix']/z:row[@MatrixOpt='1' or @MatrixOpt='5' or
@MatrixOpt='6']"

Hope this helps you.

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael
Semcheski
Sent: segunda-feira, 20 de Janeiro de 2003 15:01
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
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[@Type='Matrix']/z:row[@MatrixOpt='1'] 
| z:row[@Type='Matrix']/z:row[@MatrixOpt='5']
| z:row[@Type='Matrix']/z:row[@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


Current Thread