Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XML to SGML entities

From: "=?iso-8859-1?q?Jean-Fran=E7ois_Michaud?=" <cometaj@-------.--->
To: NULL
Date: 12/4/2006 9:49:00 AM

Hello,

I was wondering if anybody could point me in the right direction
regarding this.

I have unicode entities in an XML in hexadecimal format and I need to
be able to convert to ISO entities. Are there facilities available to
do this easily or do I have to parse all text and convert everything
manually? If thats what I have to do, is there any code already
available that would orient me in the right direction?

This is my XML snippet.

XML:

<?xml version = "1.0" encoding = "UTF-8"?>
<root>
  <para>&#x212B; &#x00C5; &#x00E5; &#x00C3; &#x03B2; &#x03B5; &#x03F0;
&#x03BB; &#x03BC;</para>
</root>

I basically need to something like this:

SGML:

<root>
  <para>&angst; &Aring; &aring; &Atilde; &b.beta; &b.epsi; &b.kappav;
&b.lambda; &b.mu;</para>
</root>

Thanks

Regards
Jeff



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent