Re: [xsl] use two consecutive transformation in XSL

Subject: Re: [xsl] use two consecutive transformation in XSL
From: "mus47@xxxxxxxx" <mus47@xxxxxxxx>
Date: Tue, 6 Dec 2005 11:55:00 +0100 (CET)
> 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>

Current Thread