[XML-SIG] Ebbeding image data in XML
Werner F. Bruhin
werner.bruhin at free.fr
Tue Dec 20 19:33:29 CET 2005
I would like to embed an image in an XML file.
I was thinking of using PIL.tostring() and put it into the imageasstring
<imageasstring>HERE GOES IMAGE DATA</imageasstring>
Currently I use lxml.etree and get encoding errors when I write the
image into the element.
I would like the file to XML Schema complient, so what "xs:" type should
one use for the imageasstring element?
Any hints as always much appreciated.
More information about the XML-SIG