Re: [xsl] Merging multiple documents and combining their nodes

Subject: Re: [xsl] Merging multiple documents and combining their nodes
From: "Mark Peters" <flickrmeister@xxxxxxxxx>
Date: Wed, 13 Jun 2007 12:10:03 -0400
Thanks David.

What name-space is used for exslt:node-set?  I'm trying the following,
as described on, but Xalan throws the
error, "Prefix must resolve to a namespace: exslt."

<xsl:stylesheet version="1.0" xmlns:xsl=""; xmlns:math="";>


On 6/13/07, David Carlisle <davidc@xxxxxxxxx> wrote:

> My team's currently limited to XSLT 1.0,

in that case I'd do it in two passes, first pull in all the elements
into one tree:

<xsl:variable name="temp">

then use exslt:node-set so you can apply templates to that to do the
grouping (eg muenchian grouping using keys as described in the faq or
jeni's site. this is much easier now that all the nodes to be grouped
are siblings of each other.

<xsl:for-each select="exslt:node-set($temp)/components/component[.....


Current Thread