xsl-list
[Top] [All Lists]

RE: XSL Choose inside a function??

2002-10-25 12:39:25
(sorry, please ignore previous mail)

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

-----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 
Julian
Reschke
Sent: Friday, October 25, 2002 9:26 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] XSL Choose inside a function??


Das wäre doch noch ein Test für DomPath.

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

-----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 Kay
Sent: Friday, October 25, 2002 8:09 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] XSL Choose inside a function??


So.... if I have a source document with a child element named 'else'


     if ($param = '0')
     then else
     else /jsp_entity/data/bean/fields/parameter[position()=$param]"/>

would be valid?

I'm sure the more devious could come up with equally silly ideas.

You don't need XPath 2.0 for that, in 1.0 you can write

and and or and div div div * * * and

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>