This can be done with:
<xsl:template match="/ | * | @* | text()">
<whatever/>
<xsl:copy>
<xsl:apply-templates select="*|@*|text()"/>
</xsl:copy>
<whatever/>
</xsl:template>
-----Message d'origine-----
De: xsl-list@xxxxxxxxxxxxxxxx
Date: jeudi 9 mars 2000 18:00
À: xsl-list@xxxxxxxxxxxxxxxx
Objet: XML -> XSL -> same XML
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
Attachment:
TNF19B.TMP
Description: Binary data
|