xsl-list
[Top] [All Lists]

Re: use two consecutive transformation in XSL

2005-12-06 03:55:00
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>




--~------------------------------------------------------------------
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>
--~--