On a more pleasant note

David Megginson david at megginson.com
Fri Sep 17 22:48:55 BST 1999


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 at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at 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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list