How to apply XML element in the document

  • Thread starter Thread starter Wamiq Ansari
  • Start date Start date
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)
 
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 :-)
 
Thank you very much for your help!, I'll try Office.XML if it doesn't work.

regards,

wamiq
(e-mail address removed)
 
Back
Top