Assets elements

Purpose

Several elements containing default URL values are defined in the assets section of the mcs-config.xsd file. For convenience they are grouped here rather than under individual element names.

Contained by

Attribute

Attribute Description Type Default Options Use
prefix-url The default prefix to use for assets of this specific type that do not belong to an asset group. xs:anyURI none    optional 

Example

<assets base-url="/[context_root]/">
  <audio-assets prefix-url="/audio/"/>
  <image-assets prefix-url="/images/"/>
  <script-assets prefix-url="/scripts/"/>
  <text-assets prefix-url="/text/"/>
</assets>

Related topics