XpsAnalyzer Command Syntax
To run XpsAnalyzer, type a command at the command line using the following syntax and parameters.
XpsAnalyzer [/XpsFile:FileName] [/Directory:DirectoryName] [/FlushSql:SqlFormat]]
Specifies the path and name of an XPS file to be analyzed.
Specifies the path to a directory which contains one or more XPS files.
Configures the XpsAnalyzer tool to create an analysis report in an SQL format. The following SQL formats can be specified:
When XpsAnalyzer analyzes an XML file, it creates the following two files that contain the analysis report.
The XPS analysis report in HyperText Markup (HTM) format.
The XPS analysis report in eXtensible Markup Language (XML) format.
Within these files, the name of the XPS file that has been analyzed is followed by the analysis report.
If the /Directory: argument is specified, the file contains the analysis of every XPS file that resides in the specified directory. The name of each file is followed by the XPS analysis for that file.
If the /FlushSql: argument is specified, XpsAnalyzer creates two SQL files along with the XpsAnalyzer_Result.htm and XpsAnalyzer_Result.xml files. The details of the SQL files are as folllows:
This file contains a script to prepare an SQL database that can be used to search on the XPS analysis.
This file contains a script to insert the XPS analysis results into the SQL database created through the Setup_SqlServer.sql script.
For an example of an XPS analysis report, see XpsAnalyzer Output.