Developing an XSL File
If you want to import a request from an XML file with your own format, you need to develop an XSL file to convert the user-defined format file to a PPM format XML data file.
You may refer to the following XSD file to develop your own XSL file:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="requests">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="request">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="requestType" type="xs:string"/>
<xs:element minOccurs="0" maxOccurs="unbounded" name="field">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="token" type="xs:string"/>
<xs:element minOccurs="0" name="tableValue">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="tableColumn">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="columnToken" type="xs:string"/>
<xs:element minOccurs="0" maxOccurs="unbounded" name="cellValue" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="date_format" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:schema>
Note: This XSD file defines the XML format accepted by PPM's generic request import operation. When you develop an XSL template, make ensure that the XML file generated using the XSL template conforms to the format defined by the XSD file. Do not use this file as a template directly.
If you import a request from an XML file without providing any XSL template, you need to ensure that your XML file conform with the format of PPM XML data file.