[
Lists Home |
Date Index |
Thread Index
]
- From: David Megginson <david@megginson.com>
- To: "XMLDev list" <xml-dev@ic.ac.uk>
- Date: Fri, 17 Sep 1999 12:50:40 -0400 (EDT)
Barry Paul writes:
> I agree, all the solutions are pretty horrible. Have you any other
> suggestions as to how "real-world" HTML could be encapsulated in
> XML?
That's a separate question -- real-world (non-XML) HTML can be
encapsulated reasonably in three ways:
1. Escape '<', '>', and '&' (assuming that there are no non-XML
characters like form-feed).
2. Uuencode the whole mess.
3. Put it in a separate file and point to it.
The second and third options work for anything -- you can use them for
graphics, MP3s, or what-have-you.
All the best,
David
--
David Megginson david@megginson.com
http://www.megginson.com/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|