Altova Mailing List Archives


Embedded pictures in Microsoft InfoPath XML, XSLT and XHTML formats.

From: "Sven Steinacker" <Sven.Steinacker@--------.--->
To: NULL
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




Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.