> I guess the "<>xsl:copy>" is a typo in your email. What are exactly
> the symptoms? Can you post a minimal stylesheet / input document that
> reproduce de problem?
> --drkm
//////////////////// Mydocument.xml /////////////
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="mystyle.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml";>
<body>
<strong>
abcd
</strong>
<i>
abcd
</i>
<body>
</html>
//////////////////// mystyle.xsl //////////////////////
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:template match="strong">
<strong>
<font color="red">
<xsl:apply-templates/>
</font>
</strong>
</xsl:template>
</xsl:template>
<xsl:template match="*">
<xsl:copy><xsl:apply-templates/> </xsl:copy>
</xsl:template>
</xsl:stylesheet>
|