[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Images embedded in XML
- From: Seairth Jacobs <seairth@bbglobex.com>
- To: xml-dev <xml-dev@lists.xml.org>
- Date: Wed, 04 Apr 2001 14:51:45 -0400
Why not use a CDATA section, as in:
<![CDATA[image binary here]]>
---
Seairth Jacobs
seairth@bbglobex.com
----- Original Message -----
From: "Jeff Rafter" <jeffrafter@earthlink.net>
To: <xml-dev@lists.xml.org>
Sent: Wednesday, April 04, 2001 2:11 PM
Subject: Images embedded in XML
> Does anyone have a Java code sample lying around that takes an image and
> embeds the raw data in an XML document (in Hex, etc...)-- and then is able
> to recreate the image? I had a friend ask if I could write one up and
> haven't had time to do it. I know I could simply use a general unparsed
> entity but that is not what he wanted in this case.
>
> Thanks for all of the help!
> Jeff Rafter
>
>
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@lists.xml.org
>