This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Confused about "/.." pattern
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 16 May 2002 08:34:40 -0700 (PDT)
- Subject: [xsl] Re: Confused about "/.." pattern
- Reply-to: xsl-list at lists dot mulberrytech dot com
"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.
Cheers,
Dimitre Novatchev.
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list