Partager via


HtmlTrInfo Element

The HtmlTrInfo element contains mapping instructions for directing a request to the URL for handling a request when the client computer does not have the Microsoft Office 2003 application installed.

Syntax

<HtmlTrInfo>
</HtmlTrInfo>

Remarks

When the client computer does not have the Office application installed, Microsoft Windows SharePoint Services creates an HTML rendition of the page by means of a back-end converter program.

Element Relationships

Child Elements
Mapping

Example

The following example shows the instructions used in the htmltransinfo.xml file.

<HtmlTrInfo>
   <Mapping Extension="xls" AcceptHeader="application/vnd.ms-excel" HandlerUrl="HtmlTranslate.aspx" />
   <Mapping Extension="doc" AcceptHeader="application/msword" HandlerUrl="HtmlTranslate.aspx" />
   <Mapping Extension="ppt" AcceptHeader="application/vnd.ms-powerpoint" HandlerUrl="HtmlTranslate.aspx" />
   <Mapping Extension="pps" AcceptHeader="application/vnd.ms-powerpoint" HandlerUrl="HtmlTranslate.aspx" />
</HtmlTrInfo>