![]() ![]() "in the fall, and then back to your back yard in the spring." & _Ī "of the red breasted robin as it migrates to warmer climes " & _ "Migration Paths of the Red Breasted Robin" & _ ![]() The following example creates a new CustomXMLPart object, loads custom XML into it, and then creates two new content controls and maps each to a different XML element within the custom XML. Set objNode = _īlnMap = objMap.SetMappingByNode(objNode) The following example does the same thing as the previous example, but uses the SetMappingByNode method. Use the SetMappingByNode method to add or change the XML mapping for a content control using a CustomXMLNode object. ![]() MsgBox "Unable to map the content control." (wdContentControlDate, ActiveDocument.Paragraphs(1).Range)īlnMap = objMap.SetMapping(XPath:="/ns1:coreProperties/ns0:createdate") Dim objcc As ContentControlĪctiveDocument.BuiltInDocumentProperties("Author").Value = "David Jaffe" The following example sets the built-in document property for the document author, inserts a new content control into the active document, and then sets the XML mapping for the control to the built-in document property. Use the SetMapping method to add or change the XML mapping for a content control using an XPath string. An XML mapping is a link between the text in a content control and an XML element in the custom XML data store for this document. Represents the XML mapping on a ContentControl object between custom XML and a content control. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |