Re: [xml] Embedding images
- From: Matt Sergeant <matt sergeant org>
- To: Adrian Feiguin <feiguin magnet fsu edu>
- Cc: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] Embedding images
- Date: Sun, 3 Jun 2001 18:15:38 +0100 (BST)
On Sun, 3 Jun 2001, Adrian Feiguin wrote:
How can I use libxml to embed a large pixmap in a file? I don't want to
use a different file for the image, I wan't to embed it in my main
document. Is that possible? How? Any documentation? What about embedding
BLOBs, like a gif file, is there any documentation/examples available?
The "standard" way to do this is to use base64 encoding, and putting the
data in the content of a tag. There is no direct support for decoding this
in XML parsers, but it's pretty easy to do manually.
--
<Matt/>
/|| ** Founder and CTO ** ** http://axkit.com/ **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** mod_perl news and resources: http://take23.org **
\\//
//\\
// \\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]