xsl-list
[Top] [All Lists]

RE: [xsl] Unmatched Element need to retain

2008-08-30 03:03:42
Use the identity template:

<xsl:template match="*">
 <xsl:copy>
   <xsl:copy-of select="@*"/>
   <xsl:apply-templates/>
 </xsl:copy>
</xsl:template>

Thanks Michael. I got the expected output. But I am getting some disturbance
when use the above template. Ex: All the symbol and entity translated as '
<symbol name="equals" ascii="=" unicode="003D" description="equals sign R:"
type="ascii">=</symbol>, <symbol name="numsp" unicode="2007"
description="digit space (width of a number)">&#8199;</symbol>. How to avoid
this?

Regards,
Ramkumar


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--