xsl-list
[Top] [All Lists]

RE: XSL Choose inside a function??

2002-10-25 11:09:15
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