W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2004

Numeric character references

From: Roopa Trivedi <rotrived@cisco.com>
Date: Fri, 4 Jun 2004 14:54:27 -0700
To: <www-dom@w3.org>
Cc: "'Roopa Trivedi'" <rotrived@cisco.com>
Message-ID: <007b01c44a7e$81bb5890$798e6b80@amer.cisco.com>

I want to understand how the various DOM parsers are expected to behave when
the XML document contains numeric character references. For example, I have
the foll. XML doc:
<?xml version="1.0"?>
<vxml xmlns="http://www.w3.org/2001/vxml" version="2.0">
<form id="phonemedemo">
  		<phoneme alphabet="ipa" ph="t&#x252;m&#x251;t&#x28A;">
tomato </phoneme>
  		<!-- This is an example of IPA using character entities -->

Should the DOM parsers convert the numeric character references for "ph" to
If yes, then if I want to conver it back to XML, how should these be
converted back to the numeric values?

Any help or pointers will be very much appreciated.
Received on Friday, 4 June 2004 17:54:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC