This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Using a tree read with document() as a hash-table
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Using a tree read with document() as a hash-table
- From: Linda van den Brink <lvdbrink at baan dot nl>
- Date: Wed, 14 Jun 2000 11:43:36 +0200
- Reply-To: xsl-list at mulberrytech dot com
> I have done a lot of trial-and-error, and have given up on
> the following
>
>
> <!-- First look up the packtype -->
> <xsl:apply-templates
> select="$packtypetree//ROW[packcode='GREEL']" mode="preview"/>
>
> to get "into" the node-set of $packtypetree, but without
> visible results.
It's not standard XSLT to save a result tree into a variable and then access
it as a node-set. It's quite a common wish to do this, however. Saxon and XT
(and maybe other processors) have a node-set extension function that you can
use. See the Saxon documentation for details!
Linda
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list