Re: [xsl] Confused about "/.." pattern

Subject: Re: [xsl] Confused about "/.." pattern
From: "David N Bertoni/Cambridge/IBM" <david_n_bertoni@xxxxxxxxxx>
Date: Thu, 16 May 2002 08:45:45 -0700
You're correct, it _does_ mean the parent of root, which doesn't exist.
It's the "canonical" way of selecting an empty node-set.  This is directly
from the XSLT recommendation:

   http://www.w3.org/TR/xslt#variable-values

By the way, it's not a pattern -- it's a location path.  "/.." is not a
legal match pattern.

Dave



                                                                                                                                                      
                      "paul morgan"                                                                                                                   
                      <pmorg@xxxxxxxxx>                  To:      xsl-list@xxxxxxxxxxxxxxxxxxxxxx                                                     
                      Sent by:                           cc:      (bcc: David N Bertoni/Cambridge/IBM)                                                
                      owner-xsl-list@xxxxxxxxxxx         Subject: [xsl] Confused about "/.." pattern                                                  
                      rrytech.com                                                                                                                     
                                                                                                                                                      
                                                                                                                                                      
                      05/16/2002 08:17 AM                                                                                                             
                      Please respond to xsl-list                                                                                                      
                                                                                                                                                      
                                                                                                                                                      



I'm a little confused about the interpretation of the pattern, "/.."  My
feeble knowledge of XSLT would parse this as the parent of the root, but
that doesn't make any sense to me.  Any help on what I'm missing would be
appreciated.

Thanks,

Paul


________________________________________________________
Outgrown your current e-mail service?
Get a 25MB Inbox, POP3 Access, No Ads and No Taglines with LYCOS MAIL PLUS.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus

 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