# Location element (PublishObject element)

Contains an A1-style reference to a range in the worksheet containing a PivotTable report, or contains the URL (on the intranet or the Web) or path (local or network) to the location where a published item is saved.

## Usage

    <Location
    	HRef="xsd:string"
    />

## Element Information

Element type | Anonymous
Namespace | urn:schemas-microsoft-com:office:excel
Schema name | XML Spreadsheet 2000

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
PublishObject | Contains the properties of a published item.

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
HRef | xsd:string | required | Specifies the URL (on the intranet or the Web) or path (local or network) to the location where a published item is saved. | See external namespace.

## Definition

    <xsd:element name="Location" >
      <xsd:complexType>
        <xsd:attribute name="HRef" type="xsd:string" form="qualified" use="required">
        </xsd:attribute>
      </xsd:complexType>
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp