Export (0) Print
Expand All

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]] 

   

Parameters

/XpsFile:

Specifies the path and name of an XPS file to be analyzed.

/Directory:

Specifies the path to a directory which contains one or more XPS files.

/FlushSql:

Configures the XpsAnalyzer tool to create an analysis report in an SQL format. The following SQL formats can be specified:

SqlServer

Specifies a format compatible with Microsoft SQL Server.

MySql

Specifies a format compatible with MySql open-source SQL Server.

Oracle

Specifies a format compatible with Oracle SQL Server.

Comments

When XpsAnalyzer analyzes an XML file, it creates the following two files that contain the analysis report.

XpsAnalyzer_Result.htm

The XPS analysis report in HyperText Markup (HTM) format.

XpsAnalyzer_Result.xml

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:

Setup_SqlServer.sql

This file contains a script to prepare an SQL database that can be used to search on the XPS analysis.

Update_SqlServer.sql

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.

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft