|
Subject: RE: [xsl] Match Question From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Mon, 20 Jan 2003 19:48:03 -0000 |
> Michael Semcheski wrote:
>
> >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']"
> >
> >
> Try
>
> match="z:row[@Type='Matrix']/z:row[@MatrixOpt='1' or
> @MatrixOpt='5' or @MatrixOpt='6']"
>
> for something that is a bit less cumbersome.
>
With XSLT 2.0 you can write
match="z:row[@Type='Matrix']/z:row[@MatrixOpt=('1', '5', '6')]"
FWIW!
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Match Question, Francis Norton | Thread | RE: [xsl] Match Question, Michael Semcheski |
| RE: [xsl] Number error with XALAN, Michael Kay | Date | RE: AW: [xsl] how to "save" a conte, Michael Kay |
| Month |