library

Purpose

A reference to a library.

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

Contained by

Attribute

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

<project>
  <xml-policies directory="policies/"/>
  <assets base-url="assets/"/>
  <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>
</project>

Related topics