[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Euro Entity

Subject: Re: Euro Entity
From: "Miguel Angel Medina Lopez" <mamedina@xxxxxxxxxxxxxxxxx>
Date: Thu, 21 Feb 2002 12:18:36 +0100
java iso 8859 entities match
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 &#8364;</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 &#8364;</center>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

In this case, the Euro sign appear in the browser. With other entities, like
&ntilde;, either works fine.

-------------------------------------------------------------
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España




----- Original Message -----
From: "Jonathan Perret" <jonathan@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, February 21, 2002 9:17 AM
Subject: Re:  Euro Entity


> What do you see when you do a "view source" in the browser ?
> (in both cases, with and without the xsl:text elements)
>
> Cheers,
> --Jonathan
>
> ----- Original Message -----
> From: "Miguel Angel Medina Lopez" <mamedina@xxxxxxxxxxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, February 20, 2002 8:39 PM
> Subject: Re:  Euro Entity
>
>
> > Yes, I say that the euro sing is outside the xsl:text element, but if I
> quit
> > those elements the euro sign appear, and if I keep xsl:text, a character
> '?'
> > appear and not the euro sign. I know is very stange.
> > I use Xalan for Java, version 2.
> >
> > -------------------------------------------------------------
> > Miguel Ángel Medina López
> > Logic Factory: www.logic-factory.com
> > Granada - España
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.