This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Problem with simple xsl:when test expression



>
>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]