Re: Word 2003 Preserve XML structure

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Rahul,

I am copying and pasting text from one word document to another
programmatically. The copied test has custom xml tags in it. How can I
programmatically instruct word to preserve or not preserve the XML structure
when the text gets pasted into another document.

Can you be more precise, please, about what you mean by the "XML structure"?

If you mean the display in the XML task pane, a document can only display that
if it's been linked to the XML Schema. In the object model, this would be the
Add method of the XMLSchemas collection.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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 :-)

.



Relevant Pages

  • RE: Reading XML Server Reports
    ... The IE 6.0 should be a good tool to display .xml file. ... This newsgroup only focuses on SBS technical issues. ... you may want to contact Microsoft CSS directly. ...
    (microsoft.public.windows.server.sbs)
  • Re: Experts only: XML databinding, DTD and dates
    ... Please post such questions to microsoft.public.xml -- this newsgroup is ... meant specifically for the XML for Analysis SDK. ... > Internet Explorer will automatically format the display of the date ... > It is a fantastic feature, but how does it determine which format to ...
    (microsoft.public.data.xmlanalysis)
  • Re: Experts only: XML databinding, DTD and dates
    ... Please post such questions to microsoft.public.xml -- this newsgroup is ... meant specifically for the XML for Analysis SDK. ... > Internet Explorer will automatically format the display of the date ... > It is a fantastic feature, but how does it determine which format to ...
    (microsoft.public.dotnet.xml)
  • Re: xml attributes
    ... > someone knows how to display the xml attributes of all tags of a document. ... reply in the newsgroup and not by e-mail :-) ...
    (microsoft.public.office.developer.vba)
  • Re: TreeView Dynamic XML Binding
    ... Subject: TreeView Dynamic XML Binding ... Expand the ReturnHeader node. ... When I click on the tree node for the select ... I'm simply trying to display the xml element tree ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)