Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CustomXMLPart + Base64 Image = ????

9 views
Skip to first unread message

tswaters

unread,
Aug 19, 2009, 5:59:14 PM8/19/09
to
Greetings. I imagine I'm missing something obvious here, but my intention is
to create an XML file for a template that includes a series of values,
including an image. I've set up the custom XML part and it includes a simple
element with a base64 encoded image, e.g.
<MyImage>iVBORw0KGgoAAAANSUhEUgAA</MyImage> -- that's snipped

It seems to be mapped properly, that is, if I grab the "ContentControl"
object for the image and check XMLMapping.CustomXMLNode.XML it returns as I
would expect.... but in the document, the image will not update.

Is there something I'm missing? According to the help file I was reading,
http://msdn.microsoft.com/en-us/library/bb266219.aspx, it says it's supported
but I can't, for the life of me, get it to work.

0 new messages