[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Dynamic Table Generation


Subject: Re: Dynamic Table Generation
From: Steve Tinney <stinney@xxxxxxxxxxxxx>
Date: Tue, 07 Mar 2000 08:26:22 -0500

Phil Lanch wrote:
> you can use a (top-level) variable to store some vector-ish XML -
> ...
> [use a] node-set() function to convert the variable from a 
> "result tree fragment" (for that is what it is) to a nodeset

Hey, I was going to say that...

The only thing to add is that if you are using an XSL processor with no
nodeset function you can just extract the content-types out into an XML
file, say, content-types.xml, and use it in the contexts in which Phil's
example uses a node-set by calling the document() function instead:

  <xsl:for-each select="document('content-types.xml')/th">

 Steve


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



Current Thread
Keywords