Altova Mailing List Archives
>microsoft.public.xml Archive Home
>Thread Next - Re: Embedded pictures in Microsoft InfoPath XML, XSLT and XHTML formats.
Embedded pictures in Microsoft InfoPath XML, XSLT and XHTML formats.
Date: 10/28/2003 9:37:00 AM
Hi, XSLT files generated by Microsoft InfoPath applied to some XML content produces quite decent HTML presentations. At least with Mozilla and, of course, IE 6.0 the results look the same as the original form in InfoPath. However, pictures which were included in an InfoPath form's RTF field before, are encoded in XHTML and embedded in the XML file as follows: <img style="WIDTH: 541px; HEIGHT: 330px" tabIndex="-1" height="330" src="msoinline/a0d1f46db1284886" width="541" v:shapes="_x0000_i1025" xd:inline="XXX..XXX." xmlns:xd="http://schemas.microsoft.com/office/infopath/2003" xmlns:v="urn:v"></img> Whereas "XXX.XXX" represents the character encoded picture. The according InfoPath XSLT, which produces XHTML out of the above nearly leaves the embedded picture code untouched: <img xmlns:v="urn:v" style="WIDTH: 541px; HEIGHT: 330px" tabIndex="-1" height="330" src="msoinline/a0d1f46db1284886" width="541" v:shapes="_x0000_i1025" xd:inline="XXX..XXX."/> This is XHTML syntax but for my knowledge the inline encoding of pictures is not standard, isn't it? Even the IE 6.0 and Word do show empty pictures only. Does anyone know if embedded pictures will become a (W3C or Microsoft ;-) standard in the future? Do the next version of IE and Word (e.g. WordML) support embedded pictures!? Furthermore, does anyone know the format of the embedded picture encoding InfoPath is using? Thanks a lot for a short note! BR Sven Steinacker