MainFile Element (Microsoft Office)

Specifies the path and file name of the parent Web page.

Attribute Description
HRef Required. Specifies the path and file name of the parent Web page.

Contained In

XML

Remarks

The MainFile element is empty. This element is contained in a file named filelist.xml. The File element specifies each supporting file.

Example

This example lists the main file, print.htm, and its two supporting files, img001.png and filelist.xml.


 <xml xmlns:o="urn:schemas-microsoft-com:office:office">
  <o:MainFile HRef="../print.htm"/>
  <o:File HRef="img001.png"/>
  <o:File HRef="filelist.xml"/>
 </xml>