Zend Server User Guide > Tasks > Working with Libraries > Library Package > Example Codes > The XML Descriptor File

The XML Descriptor File

The library XML descriptor file is made up of the following elements:

Note:

The descriptor file is validated by an XSD file in the server. For an example of the file see The XSD File.

Example:

Usage Example

<?xml version="1.0" encoding="utf-8" standalone="no" ?>

<package xmlns="http://www.zend.com/server/deployment-descriptor/1.0" version="2.0">

<type>library</type>

<name>Zend Framework 2</name>

<summary>Zend Framework 2.2.0</summary>

<description>Zend Framework 2.2.0</description>

<version>

<release>2.2.0</release>

</version>

<icon>logo.png</icon>

<eula>LICENSE.txt</eula>

<libdir>library</libdir>

<updateurl>http://www.zend.com/zend-server-library-update/zf2-update.php</updateurl>

<dependencies>

<dependencies/>

</package>

 

 

Read Also

  Example Codes    
  Working with Libraries    
  Understanding the Pacakge Structure    
  Preparing the Package Using the Deployment Tool