다음을 통해 공유


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.

참고 항목

개념

XmlMaps Object Members

XmlMaps Object