<!DOCTYPE SOFTPKG SYSTEM 'ppd.dtd'>
The DTD for PPD documents is available from the ActiveState website and the latest version can be found at http://www.ActiveState.com/PPM/DTD/ppd.dtd
<!ELEMENT SOFTPKG (ABSTRACT|AUTHOR|IMPLEMENTATION|LICENSE|TITLE)* >
<!ATTLIST SOFTPKG NAME CDATA #REQUIRED >
<!ATTLIST SOFTPKG VERSION CDATA #IMPLIED >
It's the root element of a description of a software package, in Perl Package Distribution (PPD) format which is an XML application.
HISTORY : v0.1 - Initial release
SEE ALSO : OSD Specification http://www.microsoft.com/standards/osd/
<!ELEMENT TITLE (#PCDATA) >
Used to state the title of the Perl Package. Only one instance should be present.
Child of : SOFTPKG
<!ELEMENT ABSTRACT (#PCDATA) >
Used to provide a short description outlining the nature and purpose of the Perl Package. Only one instance should be present.
Child of : SOFTPKG
<!ELEMENT AUTHOR (#PCDATA) >
Used to provide information about the author(s) of the Perl Package. Multiple instances are valid.
Child of : SOFTPKG
<!ELEMENT LICENSE EMPTY >
<!ATTLIST LICENSE HREF CDATA #REQUIRED >
Indicating the location of the appropriate license agreement or copyright notice for the Perl Package. Only one instance should be present.
Child of : SOFTPKG
<!ELEMENT IMPLEMENTATION (CODEBASE|DEPENDENCY|LANGUAGE|OS|OSVERSION|PERLCORE|PROCESSOR|INSTALL|UNINSTALL)* >
Used to describe a particular implementation of the Perl Package. Multiple instances are valid, and should be used to describe different implementations/ports for different operating systems or architectures.
Child of : SOFTPKG
<!ELEMENT CODEBASE EMPTY >
<!ATTLIST CODEBASE FILENAME CDATA #IMPLIED >
<!ATTLIST CODEBASE HREF CDATA #REQUIRED >
Indicating a location where an archive of the Perl Package can be retrieved. Multiple instances are valid, and can be used to indicate multiple possible locations where the same version of the Perl Package can be retrieved.
Child of : IMPLEMENTATION
<!ELEMENT DEPENDENCY EMPTY >
<!ATTLIST DEPENDENCY VERSION CDATA #IMPLIED >
<!ATTLIST DEPENDENCY NAME CDATA #REQUIRED >
Used to indicate a dependency this Perl Package has on another Perl Package. Multiple instances are valid.
Child of : IMPLEMENTATION
<!ELEMENT LANGUAGE EMPTY >
<!ATTLIST LANGUAGE VALUE CDATA #REQUIRED >
Used to specify the language used within the given implementation of the Perl Package. Only one instance should be present.
Child of : IMPLEMENTATION
<!ELEMENT OS EMPTY >
<!ATTLIST OS VALUE CDATA #REQUIRED >
Used to outline the operating system required for this implementation of the Perl Package. Multiple instances are valid. Valid values can be taken from the OSD Specification and it's OS element.
Child of : IMPLEMENTATION
<!ELEMENT OSVERSION EMPTY >
<!ATTLIST OSVERSION VALUE CDATA #REQUIRED >
Used to outline the required version of the operating system required for this implementation of the Perl Package. Only one instance should be present.
Child of : IMPLEMENTATION
<!ELEMENT PERLCORE EMPTY >
<!ATTLIST PERLCORE VERSION CDATA #REQUIRED >
Used to specify the minimum version of the Perl core distribution that this Perl Package is to be used with. Only one instance should be present.
Child of : IMPLEMENTATION
<!ELEMENT PROCESSOR EMPTY >
<!ATTLIST PROCESSOR VALUE CDATA #REQUIRED >
Outlining the cpu required for this implementation of the Perl Package. Only one instance should be present.
Child of : IMPLEMENTATION
<!ELEMENT INSTALL (#PCDATA) >
<!ATTLIST INSTALL HREF CDATA #IMPLIED >
<!ATTLIST INSTALL EXEC CDATA #IMPLIED >
Used to provide either a reference to an installation script or a series of commands which can be used to install the Perl Package once it has been retrieved. If the EXEC attribute is not specified, the value is assumed to be one or more commands, separated by `;;'. Each such command will be executed by the Perl `system()'function. Only one instance should be present.
Child of : IMPLEMENTATION
<!ELEMENT UNINSTALL (#PCDATA) >
<!ATTLIST UNINSTALL HREF CDATA #IMPLIED >
<!ATTLIST UNINSTALL EXEC CDATA #IMPLIED >
Used to provide either a reference to an uninstallation script or a raw Perl script which can be used to uninstall the Perl Package at a later point. Only one instance should be present.
Child of : IMPLEMENTATION