Re: Adding XML payload to WordML document
From: Jason De Lorme (delormej_at_comcast.net)
Date: 08/05/04
- Previous message: Zach: "Purpose of (.resx) files?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 4 Aug 2004 23:43:10 -0400
If anyone is interested, I did stumble accross a blog entry that Chris
Kunicki had from Nov 2003
(http://216.239.41.104/search?q=cache:w-y2iSLW7WQJ:blogs.officezealot.com/ch
ris/archives/000025.html+Word.Document+Variables&hl=en), where he used the
Document Variables! Which when accessed through XML is stored like this:
<w:docVars>
<w:docVar w:name="MyXML" w:val="<Config><var1>True</var1>
<var2>False</var2></Config>"/>
</w:docVars>
Thanks, Chris! (If you're out there reading this ;-).
- Jason
"Jason De Lorme" <delormej@comcast.net> wrote in message
news:58OdnUn0No0Kf2PdRVn-pw@comcast.com...
> Ok, I'm bracing for a beating... but I need to do this for several reasons
> which I won't get into right here.
>
> I need to embed some "Context" information in the WordML stream that I'm
> sending down to a client. Ideally, I'll be able to get away with storing
> this information in attributes within my own markup, but I may need to go
> beyond this. Is there any support for adding arbitrary XML into the
WordML
> document? Using attributes may not be rich enough, I'd like to just stick
a
> chunk of well-formed XML somewhere in the document and not have that
> displayed in Word.
>
> ie. maybe in the <o:CustomDocumentProperties>... section?
>
>
>
- Previous message: Zach: "Purpose of (.resx) files?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|