CustomXMLPart.LoadXML Method
Office Developer Reference |
Allows the template author to populate a CustomXMLPart object from an XML string. Returns True if the load was successful.
Note |
---|
References to DTDs from custom XML parts are not supported. DTD references in custom XML parts will not resolve, and custom XML parts containing DTD references generate an exception when an attempt is made to save the file's content to a flat XML file. |
Syntax
expression.LoadXML(XML)
expression An expression that returns a CustomXMLPart object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
XML | Required | String | Contains the XML to load. |
Return Value
Boolean
Example
The following example loads XML into a custom XML part from a string.
Visual Basic for Applications |
---|
|
See Also