[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML -> XSL -> same XML
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|