This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Problem with simple xsl:when test expression
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Problem with simple xsl:when test expression
- From: Phil Mitchell <philip_mitchell at harvard dot edu>
- Date: Tue, 03 Jul 2001 17:17:42 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
>If I want to test that simpleType has a child element called 'restriction',
>which in turn has an attribute called base whose value is equal to 'string'
>then you can try:
>
> <xsl:when test="restriction and restriction/@base='string'">
Wouldn't that be equivalent to: <xsl:when
test="restriction[@base='string']"> ? And neither one is working for me...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list