This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Confused about "/.." pattern
- From: Joerg Heinicke <joerg dot heinicke at gmx dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 16 May 2002 17:36:52 +0200
- Subject: Re: [xsl] Confused about "/.." pattern
- References: <CJOMCEDKBBOOGAAA@mailcity.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Paul,
it's correct: "/.." selects the parent of the root, which does not exist and
is so a guarantee for an empty nodeset. It's often used as default value for
a param, so you can be sure a nodeset is sent via <xsl:with-param/> or not.
Regards,
Joerg
paul morgan 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.
>
> Thanks,
>
> Paul
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list