RE: Using a tree read with document() as a hash-table

Subject: RE: Using a tree read with document() as a hash-table
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Wed, 14 Jun 2000 11:43:36 +0200
> 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


Current Thread