XmlMaps.Add Method
Adds an XML map to the specified workbook.
Syntax
expression.Add(Schema, RootElementName)
expression An expression that returns a XmlMaps object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| Schema | Required | 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 | Optional | 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.
Remarks
Note
|
|---|
| XML features, except for saving files in the XML Spreadsheet format, are available only in Microsoft Office Professional Edition 2003 and Microsoft Office Excel 2003. |
Note