|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Dynamic Table Generation
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








