Lists Home |
Date Index |
- From: "Rick Jelliffe" <firstname.lastname@example.org>
- To: "Michael Emmel" <email@example.com>, <firstname.lastname@example.org>
- Date: Sat, 21 Feb 1998 13:43:15 +1100
From: Michael Emmel <email@example.com>
>Is it possible to include binary data in a XML document and follow the
It is possible to have binary data in an XML *document* but it is not
to have (unencoded) binary data in an XML text *entity*. A document is
constructed from entities. An entity is usually a file. An entity is either
or binary (NDATA) but not both.
You can use Base64 encoding to stick non-text data inside elements:
<!DOCTYPE foo [
<!NOTATION base64 SYSTEM "put URL of base 64 code here, or omit this string"
CDATA marked sections are only a shorthand mechanism for data which has a
"&" or "<" characters which you might find tedious to delimit into entity
It is not a mechanism for embedding raw binary, per se.
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)