From sita_prs@adforce.com Wed Nov 1 19:53:55 2000 Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 86329 invoked from network); 1 Nov 2000 19:53:55 -0000 Received: from unknown (HELO joker.imgis.com) (207.211.175.4) by locus.apache.org with SMTP; 1 Nov 2000 19:53:55 -0000 Received: by joker.imgis.com with Internet Mail Service (5.5.2650.21) id ; Wed, 1 Nov 2000 11:55:48 -0800 Message-ID: <5773F70A2525D411A93D00508BCFE01A0C6199@expo2.adforce.org> From: "Sita P.R.S." To: "'general@xml.apache.org'" Subject: RE: question about embedded data in XML Date: Wed, 1 Nov 2000 11:56:14 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0443D.CA9ACB90" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C0443D.CA9ACB90 Content-Type: text/plain; charset="iso-8859-1" One way to do this would be to encode the special characters found in XML or HTML strings that the parser recognizes. You could use "<" and ">" instead of "<" and ">". The binary string too could be encoded to translate "<", ">", "(quotes)", "&" and "(space)". Regards, sita -----Original Message----- From: Mark Shacklette [mailto:jmshack@home.com] Sent: Wednesday, November 01, 2000 10:08 AM To: general@xml.apache.org Subject: question about embedded data in XML We have a need to embed the following types of information in an XML document: strings that themselves contain XML (which we DON'T want parsed) strings that themselves contain HTML (which we also don't want parsed) encoded data that may be binary data encoded which could contain ANYTHING (which we also don't want parsed). Does anyone have any recommendations on XML best practices to handle the above data needs? If more info is needed, I can provide that. Thanks. --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org ------_=_NextPart_001_01C0443D.CA9ACB90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: question about embedded data in XML

One way to do this would be to encode the special = characters found in XML or HTML strings that the parser recognizes. You = could use "&lt;" and "&gt;" instead of = "<" and ">". The binary string too could be = encoded to translate "<", ">", = "(quotes)", "&" and = "(space)".

Regards,
sita

-----Original Message-----
From: Mark Shacklette [mailto:jmshack@home.com]
Sent: Wednesday, November 01, 2000 10:08 AM
To: general@xml.apache.org
Subject: question about embedded data in XML


We have a need to embed the following types of = information in an XML document:

strings that themselves contain XML (which we DON'T = want parsed)
strings that themselves contain HTML (which we also = don't want parsed)
encoded data that may be binary data encoded which = could contain ANYTHING
(which we also don't want parsed).

Does anyone have any recommendations on XML best = practices to handle the above
data needs?

If more info is needed, I can provide that.

Thanks.


---------------------------------------------------------------= ------
In case of troubles, e-mail:     = webmaster@xml.apache.org
To unsubscribe, = e-mail:          = general-unsubscribe@xml.apache.org
For additional commands, e-mail: = general-help@xml.apache.org

------_=_NextPart_001_01C0443D.CA9ACB90--