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

Subject: Re: [xsl] Confused about "/.." pattern
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 16 May 2002 17:36:52 +0200
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@xxxxxxxxx
www.virbus.de


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



Current Thread