[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

webPublishItem (Web Publishing Item)

This element represents information for a single item or object which can be published to HTML.

Parent Elements

webPublishItems3.3.1.95)

 

Attributes

Description

autoRepublish (Automatically Publish)

Automatically publish this item every time the workbook is saved.

 

The possible values for this attribute are defined by the XML Schema boolean datatype.

destinationFile (Destination File Name)

Destination file name. Indicates where to save the HTML publish file.

 

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

divId (Destination Bookmark)

Destination bookmark. Identifies a specific <div> section in the published HTML file when a subset of the workbook is published to HTML. Each item that has been published from a workbook is written to a unique <div>element in HTML. On re-publishing a particular item from the workbook, only that item's corresponding <div> content is updated. Therefore each publish item corresponds to a unique <div> element. It is possible to add new publish items to an existing published page, and it is possible to re-publish individual items without republishing the entire workbook.

 

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

id (Id)

This is a unique number "nnnnn" of the webPublishItem. This value is used to generate the divId and styleId values.

 

 

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

sourceObject (Source Object Name)

Source object name (required for sourceType = pivotTable, query, or label).

 

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

sourceRef (Source Id)

Source range (required for sourceType = 'range').

 

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

sourceType (Web Source Type)

Type of web source (or objects to publish).

 

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

title (Title)

HTML title of published item. For example, this value can appear in the web browser window's title bar.

 

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_WebPublishItem">

   <attribute name="id" type="xsd:unsignedInt" use="required"/>

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

   <attribute name="sourceType" type="ST_WebSourceType" use="required"/>

   <attribute name="sourceRef" type="ST_Ref" use="optional"/>

   <attribute name="sourceObject" type="ST_Xstring" use="optional"/>

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

   <attribute name="title" type="ST_Xstring" use="optional"/>

   <attribute name="autoRepublish" type="xsd:boolean" use="optional" default="false"/>

</complexType>