Hi,

In your example you should get as a result <Equation>2 &gt; 3</Equation>.
So, yes, it'll convert special characters to their xml-text representation.
This should include '<', '>', '&' and so on.
Are you having problem with this?

Thanks,
Dmitry

-----Original Message-----
From: Beyer,Nathan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 25, 2002 13:17
To: '[EMAIL PROTECTED]'
Subject: RE: DOM Serializer and entity references



I'd be using the XMLSerializer.

The Nodes might be something like this:

Element myElement = doc.createElement("Equation");
myElement.appendChild(doc.createTextNode("2 > 3"));

With the XML looking like this:

<Equation>2 &gt; 3</Equation>


Thanks.

-----Original Message-----
From: Voytenko, Dimitry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 25, 2002 2:58 PM
To: '[EMAIL PROTECTED]'
Subject: RE: DOM Serializer and entity references


Hi Nathan,

Can you provide approximate example of how you're gonna do this and what you
want to get after serialization? And also include which serializer you want
to use.

Thanks,
Dmitry

-----Original Message-----
From: Beyer,Nathan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 25, 2002 12:48
To: Xerces-J-User (E-mail)
Subject: DOM Serializer and entity references



If I built a DOM structure and place some reserved characters in an
element's content, such as ", ', &, etc and then used the serializer in the
Xerces packages, would those characters be converted to their associated
entity references/escape sequences?

Thanks.

CONFIDENTIALITY NOTICE

This message and any included attachments
are from Cerner Corporation and are intended
only for the addressee. The information
contained in this message is confidential and
may constitute inside or non-public information
under international, federal, or state
securities laws. Unauthorized forwarding,
printing, copying, distribution, or use of such
information is strictly prohibited and may be
unlawful. If you are not the addressee, please
promptly delete this message and notify the
sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas
City, Missouri, U.S.A at (+1) (816)221-1024.
---------------------------------------- --

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE

This message and any included attachments
are from Cerner Corporation and are intended
only for the addressee. The information
contained in this message is confidential and
may constitute inside or non-public information
under international, federal, or state
securities laws. Unauthorized forwarding,
printing, copying, distribution, or use of such
information is strictly prohibited and may be
unlawful. If you are not the addressee, please
promptly delete this message and notify the
sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas
City, Missouri, U.S.A at (+1) (816)221-1024.
---------------------------------------- --

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to