<webPr>
(Web Query Properties)
This element specifies the properties for a web query source. A web query will retrieve data from HTML tables, and can also supply HTTP "Get" parameters to be processed by the web server in generating the HTML by including the <parameters>
and <parameter>
elements.
Here's an example of a web query connection:
<connection id="1" name="Connection" type="4" refreshedVersion="0" background="1" saveData="1"> <webPr sourceData="1" parsePre="1" consecutive="1" url="http://ServerName/Image%20Library/Forms/AllItems.aspx" htmlTables="1"> <tables count="1"> <s v="contentthumbnail"/> </tables> </webPr> </connection>
Parent Elements |
---|
|
Child Elements |
Subclause |
---|---|
|
Attributes |
Description |
---|---|
|
Flag indicating whether consecutive delimiters should be treated as just one delimiter. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
The URL of the user-facing web page showing the web query data. This URL is persisted in the case that The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
|
Flag indicating whether to parse all tables inside a PRE block with the same width settings as the first row. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
How to handle formatting from the HTML source when bringing web query data into the worksheet. Relevant when sourceData is True. Values are as follows: 1. None - no formatting at all 2. RTF - honor just rich text formatting 3. All - honor all html formatting. The possible values for this attribute are defined by the ST_HtmlFmt simple type (§3.18.43). |
|
Flag indicating whether web queries should only work on HTML tables. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Flag indicating whether data contained within HTML <PRE> tags in the web page is parsed into columns when you import the page into a query table. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Returns or sets the string used with the post method of inputting data into a web server to return data from a web query. The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
|
Flag indicating that XML source data should be imported instead of the HTML table itself. Used when a web query exists to an HTML table with the following attribute. <TABLE ... o:WebQuerySourceHRef=”http://...” ... > ... </TABLE> The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
Flag indicating whether dates should be imported into cells in the worksheet as text rather than dates. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
URL to use to refresh external data. The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96). |
|
This flag exists for backward compatibility with older existing spreadsheet files, and is set to This is an optional attribute that can be ignored. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
This flag exists for backward compatibility with older existing spreadhseet files, and is set to This is an optional attribute that can be ignored. The possible values for this attribute are defined by the XML Schema boolean datatype. |
|
The possible values for this attribute are defined by the XML Schema boolean datatype. |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_WebPr">
<sequence>
<element name="tables" minOccurs="0" maxOccurs="1" type="CT_Tables"/>
</sequence>
<attribute name="xml" use="optional" type="xsd:boolean" default="false"/>
<attribute name="sourceData" use="optional" type="xsd:boolean" default="false"/>
<attribute name="parsePre" use="optional" type="xsd:boolean" default="false"/>
<attribute name="consecutive" use="optional" type="xsd:boolean" default="false"/>
<attribute name="firstRow" use="optional" type="xsd:boolean" default="false"/>
<attribute name="xl97" use="optional" type="xsd:boolean" default="false"/>
<attribute name="textDates" use="optional" type="xsd:boolean" default="false"/>
<attribute name="xl2000" use="optional" type="xsd:boolean" default="false"/>
<attribute name="url" use="optional" type="ST_Xstring"/>
<attribute name="post" use="optional" type="ST_Xstring"/>
<attribute name="htmlTables" use="optional" type="xsd:boolean" default="false"/>
<attribute name="htmlFormat" use="optional" type="ST_HtmlFmt" default="none"/>
<attribute name="editPage" use="optional" type="ST_Xstring"/>
</complexType>