Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Question on MSDN-Article (WordML)

From: Matthias Langbein <langbein@--------.-->
To: NULL
Date: 11/1/2005 12:37:00 PM
Hi all,

in ref. to the MSDN-Article "New XML Features of the Microsoft Office
Word 2003 Object Model"
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_wd2003_ta/html/odc_Wdnew2k3XMLOM.asp)
I've got a few questions:

1.) They say, the first step to work with XML in a word document  is
to add the XML-Schema to the Application-Object. As I want to work
with the WordML (Word Object Model), I suppose I need to load this
Schema. But obviously I've got no xsd-file available. How can I manage
to work with the WordML then?

2.) To extract text from a word document, they say to use the
XML-property of the Range-Object of the Paragraph. But my VS.NET does
not offer this property. Is this because I have no reference to a
Namespace jet or why else?

3.) To extract XML Nodes from a word document, they say to use index
on the field "XMLNodes" of the ActiveDocument-Object. But all my
documents seem to have no nodes:
ActiveDocument.XMLNodes.Count   =>  returns 0

Obviously, I couldn't test the rest of the artice, as I could not
acces any XML-Node-Objects.

Hope for help... yours Langi


transparent
Print
Mail
Like It
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.

.
.

transparent

transparent