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>

Hi,
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">
  <block>
	<prompt>
  		<phoneme alphabet="ipa" ph="t&#x252;m&#x251;t&#x28A;">
tomato </phoneme>
  		<!-- This is an example of IPA using character entities -->
  	</prompt>
  </block>
</form>
</vxml>

Should the DOM parsers convert the numeric character references for "ph" to
something?
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.
Thanks,
Roopa
Received on Friday, 4 June 2004 17:54:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT