library

Purpose

A reference to a library.

Refer to the topic entitled Using policy libraries for further information.

Contained by

Attributes

Attribute Description Type Default Options Use
identity The library identifier. The identifier is an http URL that must end with a slash character ('/') and cannot contain any query parameters nor fragment components. HttpURL     required
location The library location. xs:anyURI (restriction pattern: [^?#]*/)     required 

Example

<projects>
  <default>
    <xml-policies directory="/opt/MCS/repository/xml-repository" />
    <assets base-url="/mcs/" />
  </default>
  <project name="build-in-components"
           identity="http://www.antennasoftware.com/components/build-in-amp-web-server-components/">
    <xml-policies directory="/opt/MCS/repository/build-in-components" />
    <assets base-url="/build-in-components/" />
  </project>
  <libraries>
    <library identity="http://cool-components.com/buttons/"
             location="../libraries/cool-buttons/"/>
    <library identity="http://smart-solutions.com/reusable-components/layouts/"
             location="file:///opt/mcs/libraries/smart-layouts-2/"/>
    <library identity="http://smart-solutions.com/reusable-components/layouts-2.0/"
             location="file:///opt/mcs/libraries/smart-layouts-2/"/>
    <library identity="http://cool-components.com/image-galeries/"
             location="http://our-own-library-cache.volantis.com/cool-image-galeries/"/>
  </libraries>
</projects>

Related topics