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

arabic data in xsl

Subject: arabic data in xsl
From: "ashwati s" <ashwatis@xxxxxxxxx>
Date: Thu, 03 Oct 2002 07:09:05 -0400
arabic data
Hi,

I have an xml like...

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="arab.xsl"?>
<IBS>
&amp;#x0621;&amp;#x0622;&amp;#x0623;&amp;#x0624;&amp;#x0625;&amp;#x0626;&amp;#x0627;
</IBS>

i use the following xsl to transform it

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
</head>
<form>
<body bgcolor="#FFFFFF" text="#000000">
<input type="text" dir="rtl" name="textfield" value="{./IBS/text()}"/>

<xsl:text disable-output-escaping="yes">&amp;#x0621;&amp;#x0622;&amp;#x0623;&amp;#x0624;&amp;#x0625;&amp;#x0626;&amp;#x0627;</xsl:text>
</body>
</form>
</html>
</xsl:template>
</xsl:stylesheet>

The output in xsl:text is generated as arabic data which is my requirement but the data inside the textfield is like "&#x0621;&#x0622;&#x0623;&#x0624;&#x0625;&#x0626;&#x0627;" ....

How do i get arabic data inside the text??? Why is this happening?

I am using IE5.5 and MSXML3...

Thanks in advance
ashwati


____________________________________________________________
Tired of all the SPAM in your inbox? Switch to LYCOS MAIL PLUS
http://www.mail.lycos.com/brandPage.shtml?pageId=plus

 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.