Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Why doenst firefox render the following properly Why doenst firefox render the following properlyTo: NULL Date: 10/10/2007 6:13:00 PM XML FILE: <?xml-stylesheet type="text/xsl" href="temp.xsl"?> <section> <subsection> <number>125</number> <text> This is section<nl></nl>2nd Line Text </text> </subsection> <footer> <text> This is footer<nl></nl>Text </text> </footer> </section> XSL FILE: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/ Transform"> <xsl:output method="xml" indent="no" omit-xml-declaration="yes"/> <xsl:template match="/"> <html> <body> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="subsection"> <h1>Subsection: <xsl:value-of select="number"/></h1> <p><xsl:apply-templates select="text"/></p> </xsl:template> <xsl:template match="footer"> <h1>Footer:</h1> <p><xsl:apply-templates select="text"/></p> </xsl:template> <xsl:template match="nl"> <br /> </xsl:template> </xsl:stylesheet> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
