This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XML -> XSL -> same XML
- To: xsl-list at mulberrytech dot com
- Subject: Re: XML -> XSL -> same XML
- From: Eric van der Vlist <vdv at dyomedea dot com>
- Date: Thu, 09 Mar 2000 17:41:08 +0100
- Organization: Dyomedea
- References: <00094D79.CE21252@tribune.com>
- Reply-To: xsl-list at mulberrytech dot com
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@Tribune.com 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