Office 对象介绍
l Word Options collection:
Ø PrintXMLTag
l The Range and Selection:
Ø XML
Ø XMLNodes
Ø XMLParentNode
Ø InsertXML

| The Word Options collection
| PrintXMLTag - A property that determines whether XML tags will appear when a document is printed (True).
| The Range and Selection
| XML - A property that returns an XML (true) or Word XML (false) document schema representation of the Range or Selection object with customer-defined XML in it, if any. If Word XML, then the returned value is a Word XML document, starting with the w:WordDocument element, but where the data is in the w:body element contains only the XML for the contents of the Range or Selection object
| XMLNodes – A property that returns a collection of elements representing all of the XML elements entirely within, or partially overlapping, the Range or Selection object. The XMLNodes of the Range or Selection objects also have to option of turning off the Word XML so that only the data portion is returned.
| XMLParentNode - A property that returns the parent element of the Range or Selection object.
| InsertXML - A method that replaces the contents of the Range or Selection object with new XML from a string.