Group:  General ยป microsoft.public.office.xml
Thread: Question about a MSDN-Article

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Question about a MSDN-Article
Matthias Langbein <langbein[ at ]t-online.de> 01.11.2005 03:02:22
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
Re: Question about a MSDN-Article
"Hollis D. Paul" <Hollis[ at ]outhousebythesound.com> 01.11.2005 05:34:13
In article <mhldm1tjtih87qol5gkui4bn68t11q39i4[ at ]4ax.com>, Matthias
Langbein wrote:
[Quoted Text]
> 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?
>
Their article leaves much to be desired. Perhaps the following articles
are more hands-on and have a user-in-the-trenches outlook:

Using Just Word 2003 (with a little help from Notepad) to develop XML
and XSL documents
http://msmvps.com/obts/articles/56931.aspx

The DishList62 XML/XSL Sample
http://msmvps.com/obts/articles/54125.aspx

Hollis D. Paul [MVP - Outlook]
Hollis[ at ]outhousebythesound.com
Mukilteo, WA USA


Re: Question about a MSDN-Article
Matthias Langbein <langbein[ at ]t-online.de> 01.11.2005 11:27:39
[Quoted Text]
>Using Just Word 2003 (with a little help from Notepad) to develop XML
>and XSL documents
>http://msmvps.com/obts/articles/56931.aspx
>
>The DishList62 XML/XSL Sample
>http://msmvps.com/obts/articles/54125.aspx

These artivles didn't help at all, couldn't find any help about
programming with the WordML...

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net