RE: [xsl] Difference between "/" and "//"

Subject: RE: [xsl] Difference between "/" and "//"
From: "Ben Robb" <b.robb@xxxxxxxxxx>
Date: Thu, 21 Jun 2001 17:29:35 +0100
/tag means "get an element called tag which is a child of the root".

//tag means "get an element called tag which is anywhere in the
document".

> -----Original Message-----
> From: Earl Spencer [mailto:eapencer74@xxxxxxxxxxx]
> Sent: 21 June 2001 17:24
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Difference between "/" and "//"
> 
> 
> Hi ppl,
>            What is the actual difference between "/" and "//" 
> cause i have a 
> petty problem when use a stylesheet to search the xml then i 
> get the correct 
> result only if there is more than one string or else i get a 
> wrong result if 
> there is only one search element i pass the search elements this way
> 
> "23,34,56,78," when this search string is sent i get the 
> correct result
> 
> "34," but this string results in a null can anybody give me a 
> clue what went 
> wrong.
> 
> Thanks in advance
> Spencer
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 

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


Current Thread