RE: selective matching

Subject: RE: selective matching
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 20 Nov 2000 18:39:39 -0000
> I got an xml like following :
> <TEXT xml:lang='en'>
>       <LABEL label_id="1">Admin Password</LABEL>
>       <LABEL label_id="2">New ADMIN Password</LABEL>
>       <LABEL label_id="3">Password :</LABEL>
>       <LABEL label_id="4">Confirm Password :</LABEL>
>       <LABEL label_id="5">Apply</LABEL>
>   </TEXT>
> ...
> 
> What I want to do is :
>     /* some html code */
>     <xsl:apply-templates/> /* i want to put label1 here */

<xsl:apply-templates select="LABEL[@label_id='1']"/>

Mike Kay 


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


Current Thread