Subject: Re: [xsl] Euro Entity From: "Jonathan Perret" <jonathan@xxxxxxxxxxxx> Date: Thu, 21 Feb 2002 11:41:50 +0100 |
Please show us the resulting HTML... Cheers, --Jonathan ----- Original Message ----- From: "Miguel Angel Medina Lopez" <mamedina@xxxxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, February 21, 2002 11:31 AM Subject: Re: [xsl] Euro Entity > Here is the code with the xsl:text elements. With this code the browser > show: "Price 1000 ?". The code: > <?xml version="1.0" encoding="ISO-8859-1"?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0"> > <xsl:output method="html" encoding="ISO-8859-1"/> > <xsl:template match="ROOT"> > <html> > <head> > <script language="JavaScript"> > <xsl:text disable-output-escaping="yes"><![CDATA[ > <!-- // JavaScript code //--> > ]]></xsl:text> > </script> > </head> > <body> > <center>Price: 1000 €</center> > </body> > </html> > </xsl:template> > </xsl:stylesheet> > > Now, the code without the elements. > > <?xml version="1.0" encoding="ISO-8859-1"?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0"> > <xsl:output method="html" encoding="ISO-8859-1"/> > <xsl:template match="ROOT"> > <html> > <head> > </head> > <body> > <center>Price: 1000 €</center> > </body> > </html> > </xsl:template> > </xsl:stylesheet> > > In this case, the Euro sign appear in the browser. With other entities, like > ñ, either works fine. > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Euro Entity, Miguel Angel Medina | Thread | Re: [xsl] Euro Entity, Miguel Angel Medina |
Re: [xsl] Euro Entity, Miguel Angel Medina | Date | Re: [xsl] Euro Entity, Miguel Angel Medina |
Month |