OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re Binary data in XML

[ Lists Home | Date Index | Thread Index ]
  • From: Terry Allen <tallen@sonic.net>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 17 Oct 1997 15:05:50 -0700

Mike Sample writes:
| Is there a standard way to include binary data directly within an
| XML/RDF document? Or must one use indirection or ad-hoc encoding such
| as:
|   <foo href="http://somewhere.com/the_data.bla"/>
| or
|   <foo enc="hex">A103EF92B7</foo>

Not a standard, but you might consider


which expires tomorrow.  I don't know whether the author expects to
update it.  It defines a data URL like


in which the payload is encoded in base64 and the mediatype is a MIME
type.  It's SGML/XML-safe.



  Terry Allen    Electronic Publishing Consultant    tallen[at]sonic.net
    Davenport and DocBook:  http://www.ora.com/davenport/index.html
              at CNgroup:  terry.allen[at]cngroup.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/
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)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS