Compatibility Pack for Office 2007 file format does not render <w:dataBinding>
I created a Word 2007 file with data binding to a CustomXML part
When I open it in Word 2003 with the capability pack installed, the data is not displayed.
After some investigation, I open up the document.xml (just rename the word file extension to .zip instead of .docx) and realize that the compatibility pack only renders the content inside <w:t> tag and ignores the XPath binding on the <w:dataBinding> tag. Below is a part of my document.xml, notice the blue colored text.
<w:sdt>
- <w:sdtPr>
<w:dataBinding w:xpath=”/root[1]/name[1]” w:storeItemID=”{b6aa39be-c6d5-40ca-a66e-93dbd069104f}” />
<w:id w:val=”3411243″ />
- <w:placeholder>
<w:docPart w:val=”DefaultPlaceholder_22675703″ />
</w:placeholder>
<w:showingPlcHdr />
<w:text />
</w:sdtPr>
- <w:sdtContent>
- <w:p w:rsidR=”006D15FD” w:rsidRDefault=”00F43988″>
- <w:r w:rsidRPr=”00583873″>
- <w:rPr>
<w:rStyle w:val=”PlaceholderText” />
</w:rPr>
<w:t>Click here to enter text.</w:t>
</w:r>
</w:p>
</w:sdtContent>
</w:sdt>
If you are creating a WordML document thru this manner and want to enable it for users of older version of Word, remember to update your <w:t> tag as well.
Lim Guan Eng @ WCIT 2008
Yup, I recall he speaks in one of the session. Lim Guan Eng, Chief Minister of Penang paid a visit to the Penang booth on the third day of the event. That makes it a VIP visit during everyday of WCIT.
Office 2007 SP2 to have wider document support
I believe Microsoft is really committed to promote interoperability with other vendors, even when they are direct competitors. Recently announcement on inclusion of ODF and PDF support into Office 2007 Service Pack 2 is a strong evidence.
Having said that, the above mentioned 2 document formats have already been supported via freely available addins
The default and newer MS Office file format still has its own advantage over the others especially for integration works with line of business applications. So after acceptance by ISO, Microsoft will of course continue to work on this format for the benefits of its customers.
Another interoperability evidence would be support of Silverlight inside Linux by Novel, which I think is very cool.
Hi res version of WCIT photos
Uploaded them to my Flickr account. Will be available temporary until Friday which you got to request it from me personally.
http://www.flickr.com/photos/patrickyong/sets/72157605175826878/show/
Have you watched Indiana Jones tonight?
This is the night, but due to work tomorrow I was not able to watch it. If you can tell me more about Indiana Jones than Lara Croft, certainly you are around my age. Most of the interns I asked have no single idea about the movie franchise, I wonder what kind of childhood they went through without heroes like Indy.
So in case you are one of the unlucky Y-generation, go to Wikipedia and find out more. My friend who just came back from cinema (she also don’t know anything about Temple of Doom or the lost Ark) told me the starting part is a bit boring with little action but at the end there is a surprise appearance of UFO?! Celaka…. don’t know how true is it for Spielberg and Lucas to go this extreme. Come on lah. I always think Indy’s movie is to encourage kids to study history so leave the flying saucers to George Lucas’ Star Wars lah!
![]()
Older and younger Indiana Jones, not much difference, but when you are younger, you dare to show more skin ><
