[xsl] Template to return XML

Subject: [xsl] Template to return XML
From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Thu, 16 Oct 2003 22:45:47 -0700

I need a template to return a subset of XML from the xml source.  I'm trying
to populate a variable with this information.  How can I do this?


So, a template that will return (as an example) <B> and its subset of data.
Something like

<xsl:template name="get_subset_xml">
    .... select the <b> node

More importantly, how do I assign a variable to this new subset?

<xsl:variable name="some_subset" select="get_subset_xml"/>

where $some_suset is:

Is this possible?

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

Current Thread