Properties

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  User Guide and Reference > Menu Commands > Project Menu >

Properties

ic_proj_properties

The Project | Project Properties command opens the Properties dialog (screenshot below) of the active project. If you right-click a folder in the Project window (as opposed to the project folder itself) and select Properties, the Properties dialog of that folder is opened. The dialog settings are described below.

 

Note: If your project file is under source control, a prompt appears asking if you want to check out the project (.spp) file. Click OK if you want to edit settings and be able to save them.

URefProjectProperties

 

Settings

 

File extensions

The File Extensions setting is enabled for individual folders, and not for the project folder. When a file is added to a project, it will be added to the folder on which its file extension has been defined. For example, say a file named MyReport.xml is added to the project. If .xml file extensions have been set on the Invoices-EU folder (as shown in the screenshot above), then MyReport.xml will be added to the Invoices-EU folder. If there is more than one folder to which you wish to add XML files, then you should add individual XML files directly to the folder (instead of to the project).

 

 

User ID and password for external folders

On external folders (including external Web folders), you can save the user ID and password that might be required for accessing the server.

 

 

Validation

The DTD, XML Schema, or JSON schema that should be used to validate the files in the current folder (or entire project if the properties are those of the project).

 

 

XSL transformation of XML files

The XSLT stylesheet to be used for XSLT transformation of XML files in the folder.

 

 

XSL-FO transformation of XML files

The XSLT stylesheet to transform XML files in the folder to XSL-FO.

 

 

XSL transformation of XSL files

The XML file to be used for XSLT transformation with XSLT files in the folder.

 

 

XQuery transformation of XML files

The XQuery file to be used for XQuery executions of XML files in the folder.

 

 

Destination files of XSL transformation

The destination directory of XSLT transformations, and, optionally, the file extension of the result document.

 

 

Authentic View

The Use config specifies the StyleVision Power Stylesheet (SPS file) to use for the Authentic View display of XML files in the folder. Note that the XML file must be valid against the same schema used for the SPS.

 

Notes about project properties

Note the following points about precedence:

 

When validations or XSLT/XQuery transformations are carried out via project folder context menus, then the validation or transformation files specified in this dialog take precedence over any assignment in the XML file. Also, settings specified for individual project folders take precedence over settings specified for ancestor folders.
If one file is present in multiple folders of the project and has been assigned different validation or transformation files in the different folders, then you can set which assignment to use when the file is processed outside the project. Specify this as follows: Locate the file in the project folder whose assignment/s you wish to use. Right-click the file in that project folder, and select Properties. In the dialog that appears (screenshot below), select Use settings in current folder as default. (The current folder is the project folder in which the file is located.) If the option is disabled, it means that the settings of the current folder are already selected as the default settings to use. If you select a file instance that is in a project folder that is not the default, then the option is enabled, and you can switch the default settings to be this folder's settings. Note that, if the file has a local assignment (that is, an assignment within the file itself), then the local assignment will be used, and the default folder settings will be ignored.

ProjectPropsDefaultSettings

 


© 2019 Altova GmbH