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: selective matching


> 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

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