Document.Content.get_XML(false) sometimes wrong

W

Wei-Dong XU [MSFT]

Hi Dave,

Thanks for posting at the newsgroup!

I have reviewed your thread. Currently I am finding somebody who could help
you on it. We will post back in the newsgroup as soon as possible.

If there is anything unclear, please feel free to post in the group and we
will follow up then.

Best Regards,
Wei-Dong XU
Microsoft Product Support Services

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others: https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=/international.aspx.
=====================================================
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter Huang [MSFT]

Hi David,

It seems that the contect in the table is some xml nodes.
e.g.
<wr:chart>
</wr:forEach>
<wr:forEach><wr:eek:ut/>
....

Did I have any error with getting the file?
Also you may direct send me the mail via removing online from my email
address.


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

Yes the text in the file includes some xml - but that is as text, not as
actual xml nodes.

The problem is the cell width for the table, getXML() returns different
values than what is in the saved file.

thanks - dave
 
P

Peter Huang [MSFT]

Hi

Thanks for your quickly reply!

Also does the problem persists with all the other documents with table?

Based on my test, the saved XML does be different from the document itself,
I think that is due to the XML property of the document.content is just a
portion of the document but not the complete one. So the table may vary.

If you wants to store the xml data with all the data, I suggestion save the
document as XML format directly and load the string.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

Hello;

Please report this as a bug. getXML() is documented as returning the
document and with the wrong cell widths it is incorrect.

I am saving as a work-around but that means getXML() is not usable.
 
P

Peter Huang [MSFT]

Hi

Thanks for your feedback.
I will forward the information to the product team.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=,
Please report this as a bug. getXML() is documented as returning the
document and with the wrong cell widths it is incorrect.
I think, before one can decide this is a bug, we would need to know if
the columns are set to allow autoFit. If they are, then there IS no set
column width, so the file can really hold anything it likes. The
displayed column width will be calculated on-the-fly, during page
layout if AutoFit is active.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top