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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: image in XML file

[ Lists Home | Date Index | Thread Index ]
  • From: Jun Fujisawa <fujisawa@the.canon.co.jp>
  • To: sam th <sam@uchicago.edu>
  • Date: Fri, 7 Jul 2000 09:49:57 +0900

At 12:51 PM -0500 00.7.6, sam th wrote:
> > My suggestion on this matter would be to Base64 encode the data.  This
> > increases the size, but Base64 does not use any illegal characters.
>
>In AbiWord, this is the approach we use (we have an XML file format).  our
>stuff looks like so:
>
><data>
><d name="pic1">
>base64encodedstuffgoeshere
></d>
></data>

The 'data' URL scheme described in RFC2397 might be a better choice.
It also uses base64 encoding but has an advantage that we can use unified
syntax to reference both linked and embedded images.

<http://www.ietf.org/rfc/rfc2397.txt>


--
Jun Fujisawa
<mailto:fujisawa@the.canon.co.jp>

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

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

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