Microsoft Office File List

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Text-based data |extensions={{ext|xml}} }} A '''Microsoft Office File List''' is an XML file named '''filelist.xml''' that Micr...")
 
Line 4: Line 4:
 
|extensions={{ext|xml}}
 
|extensions={{ext|xml}}
 
}}
 
}}
A '''Microsoft Office File List''' is an [[XML]] file named '''filelist.xml''' that Microsoft Office programs saves along with the files that make up a document when it is saved as a format that requires multiple files, such as [[HTML]] with accompanying images.
+
A '''Microsoft Office File List''' is an [[XML]] file named '''filelist.xml''' that Microsoft Office programs save along with the files that make up a document when it is saved as a format that requires multiple files, such as [[HTML]] with accompanying images.
  
 
As far as Microsoft formats go, this file has surprisingly little bloat, getting to its point pretty quickly. Its function is to provide a listing of all the files that were saved as part of the compound document. The files (other than the main file, which is saved where the user chose to save it in the Office file picker) are saved in a subdirectory called '''''filename''_files''' (which is generally automatically moved or deleted when the same is done to its parent file in Windows Explorer), and '''filelist.xml''' is saved along with them in that directory.
 
As far as Microsoft formats go, this file has surprisingly little bloat, getting to its point pretty quickly. Its function is to provide a listing of all the files that were saved as part of the compound document. The files (other than the main file, which is saved where the user chose to save it in the Office file picker) are saved in a subdirectory called '''''filename''_files''' (which is generally automatically moved or deleted when the same is done to its parent file in Windows Explorer), and '''filelist.xml''' is saved along with them in that directory.
Line 25: Line 25:
  
 
  </xml>
 
  </xml>
 +
 +
== Links ==
 +
* [http://forum.mechlivinglegends.net/index.php?topic=13837.0 Discussion of use of filelist.xml in Crysis Wars maps]
 +
* [http://forums.madcapsoftware.com/viewtopic.php?f=13&t=7256 Another discussion of filelist.xml turning up in some other project]
 +
* [http://ant.apache.org/manual/Types/filelist.html Apache FileList; a different format of similar nature]
  
 
[[Category:XML based file formats]]
 
[[Category:XML based file formats]]
 
[[Category:Microsoft]]
 
[[Category:Microsoft]]

Revision as of 03:55, 30 August 2013

File Format
Name Microsoft Office File List
Ontology
Extension(s) .xml

A Microsoft Office File List is an XML file named filelist.xml that Microsoft Office programs save along with the files that make up a document when it is saved as a format that requires multiple files, such as HTML with accompanying images.

As far as Microsoft formats go, this file has surprisingly little bloat, getting to its point pretty quickly. Its function is to provide a listing of all the files that were saved as part of the compound document. The files (other than the main file, which is saved where the user chose to save it in the Office file picker) are saved in a subdirectory called filename_files (which is generally automatically moved or deleted when the same is done to its parent file in Windows Explorer), and filelist.xml is saved along with them in that directory.

The first line is:

<xml xmlns:o="urn:schemas-microsoft-com:office:office">

The next line has the name of the parent file:

 <o:MainFile HRef="../MainFileNameGoesHere.html"/>

Note the "../" preceding the filename, indicating that the main file is up one directory level; forward slashes are used instead of the normal Windows backward slashes in keeping with the normal use of Unix-style paths in HTML/XML/URLs.

Then there are lines for each of the subsidiary files:

 <o:File HRef="image331.jpg"/>

The file ends with a closing XML tag:

</xml>

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox