Elemento WebQueryInfo (Exibir)
Used inside a <TABLE> tag surrounding a view to add attributes that assist the agents that are processing Web queries in extracting data from views.
<WebQueryInfo>
</WebQueryInfo>
Atributos
Atributo | Descrição |
---|---|
Nenhum |
N/A |
Elementos filho
Nenhum |
Elementos pai
Diversos |
Ocorrências
No mínimo: 0 Máximo: 1 |
Comentários
The WebQueryInfo element renders an ID on the <TABLE> tag, a Summary attribute set to the name of the list, and a WebQuerySourceHref attribute in the o: namespace that links to the XMLDATA representation of the view. Conseqüentemente, os agentes que compreendem esses atributos podem importação um modo de exibição de dados estruturado de listas rather than ser exigido para executar uma "screenscrape" para os dados.
Exemplo
No seguinte exemplo, a WebQueryInfo WebQueryInfo elemento é usado em um elemento a1007cbe-1c8d-4b2f-9ef7-9e302d15d5b0 ViewHeader para fornecer uma identificação para uma tabela que contém uma exibição.
<ViewHeader>
<HTML>
<![CDATA[ <TABLE ID=" ]]>
</HTML>
<ows:WebQueryInfo />
<HTML>
<![CDATA[ " width="100%" border=0 rules=rows>
<TR VALIGN=TOP><FORM> ]]>
</HTML>
<Fields>
<HTML>
<![CDATA[ <TH class="ms-vh"> ]]>
</HTML>
<Field />
<HTML>
<![CDATA[ </TH> ]]>
</HTML>
</Fields>
<HTML>
<![CDATA[ </FORM></TR> ]]>
</HTML>
</ViewHeader>