Subject: RE: [xsl] Output input_xml apart from one tag change? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 02 Oct 2007 12:21:37 -0400 |
Say you _don't_ know you want to copy them. I use it as a standard identity template, because it allows me to do something like the following afterward:
<xsl:template match="select[some condition]/@multiple"/>
<xsl:template match="child::node() | attribute::node()"> <xsl:copy> <xsl:apply-templates select="child::node() | attribute::node()"/> </xsl:copy> </xsl:template>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Output input_xml apart fr, Scott Trenda | Thread | Re: [xsl] Output input_xml apart fr, John Smith |
RE: [xsl] iterate through nodes and, Wendell Piez | Date | RE: [xsl] iterate through nodes and, Michael Kay |
Month |