This doesn't get you all the way, but for our Base64 needs (for encoding URL parameters) we used the code from:
http://ws.apache.org/soap/docs/apiDocs/org/apache/soap/encoding/soapenc/Base64.html It works pretty well, and you can change the default alphabet if you want. So, there are a number of ways you could attack this (not sure if someone has already done a base64ImageDecoder or anything like that) 1. Make a matcher for the image you want. 2. Load the XML into the pipeline 3. Use a stylesheet to trim out everything but the base64 stuff you want to pull the image out 4. Write a serializer based on the Base64 stuff that turns it into an image Or, you could potentially do the whole thing as a reader. Also, it depends on if you want just one image out of the WordML or what. Just some thoughts. Irv On 8/24/05, Jonas Lundberg <[EMAIL PROTECTED]> wrote: > WordprocessorML documents save images as Base64 blobs in the XML code. > Is there any way of extracting and displaying these images? > (I would not want to write a serializer for this, if there is one already) > > Hans > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
