[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

main (Main)

Represents dependency information for all topics within a type that share the same first string or function argument.

Parent Elements

volType3.15.5)

 

Child Elements

Subclause

tp (Topic)

§3.15.3

 

Attributes

Description

first (First String)

Specifies the first string of all topics within this main. This string corresponds to the first argument to the RTD or CUBE function.

 

For RTD functions, this argument represents the progID of the IRTDServer.

 

[Example:

<main first="jrtdx.rtd">

end example]

 

For CUBE functions, this argument represents the CUBE connection.

 

[Example:

<main first="xlextdat9 Adventure Works DW Adventure Works">

end example]

 

For more information on RTD and CUBE functions in SpreadsheetML, see §3.17 in Formulas.

 

The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_VolMain">

   <sequence>

   <element name="tp" type="CT_VolTopic" minOccurs="1" maxOccurs="unbounded"/>

   </sequence>

   <attribute name="first" type="ST_Xstring" use="required"/>

</complexType>