How to apply XML element in the document

W

Wamiq Ansari

Hi,


My Smart Document solution defines only one Type called 'Template' in the

schema. What I would like to know is how to apply this XML element to my

word document programmatically? instead of right-click and selecting 'Apply

XML Element'.

Code examples appreciated

Thanks in advance!

Wamiq

(e-mail address removed)
 
C

Cindy M -WordMVP-

Hi Wamiq,

Generally, questions of this nature should be directed to the office.xml
newsgroup. But I think what you need is the XMLNodes.ADD method. Look it up
in the Help for Word's object model.
My Smart Document solution defines only one Type called 'Template' in the

schema. What I would like to know is how to apply this XML element to my

word document programmatically? instead of right-click and selecting 'Apply

XML Element'.

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 :)
 
W

Wamiq Ansari

Thank you very much for your help!, I'll try Office.XML if it doesn't work.

regards,

wamiq
(e-mail address removed)
 

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