Re: XML -> XSL -> same XML

Subject: Re: XML -> XSL -> same XML
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Thu, 09 Mar 2000 17:41:08 +0100
Yes, you can use the "identity transformation" :

<xsl:template match="@*|*">
	<xsl:copy>
		<xsl:apply-templates select="@*|node()"/>
	</xsl:copy>
</xsl:template>

this template is very low priority (being not specific at all) and will
be overridden by any more specific template matching your header or
footer.

Eric

gfermoyle@xxxxxxxxxxx wrote:
> 
> How do I transform an XML with an XSL that spits out the same XML document
> that was inputted, except with a particular heading or footer.  Is there any way
> I can do this without re-specifying every XML tag in the XSL?
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
------------------------------------------------------------------------
Eric van der Vlist                                             Dyomedea
http://xmlfr.org         http://ducotede.com        http://dyomedea.com
------------------------------------------------------------------------


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


Current Thread