XSLT translation

G

Guest

Is it possible to bring images from an InfoPath form across to a Word
document via the XSLT? My attempts have returned hyroglyphics where the
image should be.
Could someone poit me in the right direction here?

H
 
G

Guest

I thought you only had tables to convert? Images complicate things a bit...

Images are stored as base64 encoded strings in the XML of the InfoPath form.
If it is possible to use XSLT to convert base64 encoded strings to images, I
would not know how.

Typically, you would have to use .NET code to convert the base64 encoded
string to a byte array. Depending on the library you are using to generate a
document, you would be able to either use the byte array and add it to the
document or save the byte array locally as a file and then reference that
file.

Which version of Word are you converting to? I cannot promise you that I'll
have a solution for you, but can certainly think about how you could possibly
solve the issue.
 
G

Guest

I didn't want to overwhelm you with all my problems in one go. I've just
converted to 2007 two weeks ago and am still finding my way around.
Many thanks for your efforts thus far, I don't like to give you the easy
questions... ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top