473,765 Members | 1,909 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Hi,

XSLT files generated by Microsoft InfoPath applied to an applicable XML file
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/a0d1f46db128488 6" width="541" v:shapes="_x000 0_i1025"
xd:inline="XXX. .XXX."
xmlns:xd="http://schemas.microso ft.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/a0d1f46db128488 6" width="541"
v:shapes="_x000 0_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

Jul 20 '05 #1
1 5467
Cristian Nieva
1 New Member
Hi Sven,
I'm having the same issue, and I think I found a solution to it.
Take a look to the following page:
http://www.infopathdev .com/howto/tutorials/default.aspx?i= 46622d199b5f404 2acecc1953b5567 6a
Jul 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2712
by: Sergio del Amo | last post by:
Hi, I use the xslt functions provided by php. I am running in my computer the package xampp(www.apachefriends.org) which includes php/apache/mysql .. In this package the php includes the sablotron extension responsible for the xslt functions. The problem i have is that the obtained transformation is not the waited one. I try to proccess the same XML file with XSL file with a program called XMLspy and i obtained the desire and waited...
20
6797
by: Bernd Fuhrmann | last post by:
Hi! I have some trouble with some simple stupid XSLT-stuff. My stylesheet: ------------- <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9
1873
by: Jeff Rubard | last post by:
I am curious to know whether anyone has experience using XSLT for web XML (non-XHTML) styling, either with CSS or standalone. I myself have engaged in rather unsuccessful experiments with the DocBook chunk stylesheet, but it seems to me that retaining the structural markup of XML formats (i.e., the marking out of salient properties of a text in "anticipation" of RDF "semantics") demands something more powerful than CSS as it is known to...
8
1885
by: valued customer | last post by:
What do you think is the future of efforts to reduce the "verbosity" of XSLT, ostensibly by people who have had years of experience working with this technology? (example site) http://www.zanthan.com/ajm/xsltxt/docs.html It would be interesting to hear what people think about alternative syntaxes for XSLT (less verbose), especially from those who have had to maintain or extend XSLT projects for 'non-traditional' uses, such as...
4
3170
by: Luke Dalessandro | last post by:
I have some XML data that has mixed content XML tags that embed XHTML tags, for instance: <note>Somebody wrote this note in XHTML and wanto to <a href="link.html" target="_new">link</a> to a particular tag, and was also pretty sure that they wanted the following <ul><li>two</li><li>items</li></ul> to appear as a list. To make matters worse <sarcastic>how could this be worse?</sarcastic>, the XHTML can be mixed with our own tags.</note>
13
3680
by: Tjerk Wolterink | last post by:
Hello i've an xsl stylesheet that must support xhtml entities, my solution: ---- <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE xsl:stylesheet > <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
2144
by: simon.a.hulbert | last post by:
Hi, I'm trying to view the following xslt transformation using firefox <xsl:stylesheet xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" > <xsl:output method = "xml" indent = "yes" /> <xsl:attribute-set name = "set1" > <xsl:attribute name = "a" >1</xsl:attribute> <xsl:attribute name = "b" >2</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name = "set2" >
2
1381
by: chriscorbell | last post by:
I have a specific but somewhat high-level question on how to approach a schema which embeds a subset of XHTML in some elements. I have a schema defined for a logical document structure. Sections of this document can contain presentation text; the schema allows a subset of XHTML for these sections. All of this works fine as far as XML schema validation etc. I have an XSL transformation defined to convert my xml document to XHTML. ...
0
9566
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9393
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10153
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9946
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8830
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5272
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5413
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2800
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.