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: simple:xsl


Thank u Mike

It is working 

Thanks & Regards
Lenin
-----Original Message-----
From: owner-xsl-list@mulberrytech.com
[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Kay Michael
Sent: den 18 april 2000 12:20
To: 'xsl-list@mulberrytech.com'
Subject: RE: simple:xsl 



> I have written XSL like This
> ---------------------------------------------------
> 
>     <xsl:choose>
> 	<xsl:when test="Party[@stdValue='Supply']">
> 	<xsl:apply-templates select="Party">
> 	</xsl:when>
>    </xsl:choose>

This applies the Party template to all child <Party>s provided any one of
them has @stdValue='Supply'.

I suspect you don't need the <xsl:choose> here at all, just write

<xsl:apply-templates select="Party[@stdValue='Supply']">

But I'm guessing as to your intentions.

Mike Kay


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



 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]