Next in thread → Next in month →

RE: [xml-dev] Help!!

From
Mike Fitzgerald <>
To
Sidhartha Tripathy <>,
Date
2003-03-10T20:10:59Z
ID
<>
Thread
RE: [xml-dev] Help!!
I think you just need character references
[http://www.w3.org/tr/rec-xml.html#sec-references].

Here is a simple example. If a file test.properties contained:

# definitions
FFE2=&#xFFE2;
FF80=&#xFF80;
FF93=&#xFF93;

The Java (untested):

Properties test = new Properties();
test.load(new FileInputStream("test.properties"));
System.out.println(new String(test.getProperty("FFE2"));

emits:

&#xFFE2;

Good luck,

Mike

-----Original Message-----
From: Sidhartha Tripathy [mailto:]
Sent: Monday, March 10, 2003 9:24 AM
To: 
Subject: [xml-dev] Help!!


Hi
I want to represent some unicode characters taking from a properties file.
the format of unicode character in properties file is like this

\uFFE2
\uFF80
\uFF93

is it possible to represent their actual character using xml and xsl???

Sid
Next in thread → Next in month →