XmlMaps.Add Method (Excel)
Adds an XML map to the specified workbook.
Syntax
식 .Add(Schema, RootElementName)
식 An expression that returns a XmlMaps object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Schema |
필수 |
String |
The schema to be added as an XML map. The string can be a path to a schema file, or the schema itself. The path can be specified in the Universal Naming Convention (UNC) or Uniform Resource Locator (URL) format. |
RootElementName |
선택 |
Variant |
The name of the root element. This argument can be ignored if the schema contains only one root element. |
Return Value
An XmlMap object that represents the new XML map.