elixirmike
Tue Feb 07 12:23:27 CST 2006
Cindy, I have a document in which I am using the XML elements of 2003. I have
a word document I have attached my custom Schema to, and now I wish to
programmatically grab that data and invoke a web-service.
I have started a smart document solution with it, but it's not clear how to
reference those XML elements programmatically?? I can grab the text of the
word document and pass that to a web-service, but I really just want to grab
the xml elements.
Do you know how I would do that??
"Cindy M -WordMVP-" wrote:
> Hi =?Utf-8?B?THlzYQ==?=,
>
> > In prior versions of Word (pre-2003), users have created word templates with
> > bookmarks. They enter value into the bookmark range. Then we have a program
> > that extracts the bookmark range value and we use that data for other things.
> > Does Word 2003 offer any other functionality that would replace this?
> >
> Difficult to give a yes/no answer. Nothing that really replaces it, but there
> are some alternatives.
>
> XML tags, that correspond to an XML schema attached to the document. Save as
> XML, and you can extract the content from the tags without even opening the
> document.
>
> VSTO 2005 supports "data islands" (that base on bookmarks) that also allow you
> to manipulate the data without opening the document.
>
> Is that the kind of thing you mean?
>
> 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 :-)
>
>