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

Subject: [xsl] Re: Confused about "/.." pattern
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 16 May 2002 08:34:40 -0700 (PDT)
"paul morgan" <pmorg at lycos dot com> wrote:

> 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.

Hi Paul,

The "/.." XPath expression is usuallu used to specify a default value
for a xsl:param, so that the XSLT processor will know it is of type
node-set and will not raise any error message when this xsl:param is
used as a node-set.

Otherwise, "/.." is a perfectly valid XPath expression and its value is
the "empty nodeset".

BTW, did you receive the working with XALAN solution to your problem,
which I sent to you yesterday? It was not working before, because I was
using other XSLT processors, that treated RTFs in a non-conformant way.

Dimitre Novatchev.

Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience

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

Current Thread