Learn how to use an XPath expression to define the pagination of a flatplan.


Introduction

The censhare Client allows for defining the pagination in the planning view via an XPath formula. For this purpose, two attributes can be set in the Client Preferences:

  • planning@element-text-above-formula

  • planning@element-text-below-formula

If an attribute is not present or the formula is empty, the existing content is used. Color icons are displayed in a separate row under the page items.

Example:

element-text-above-formula=":asset/@annotation" 
element-text-below-formula=":$asset_element/asset_element/@paging"
XML

Configuration

The asset is contained in the default slot. The slot "asset_element" allows access to the target asset element. For example, the expression ":asset/@name" returns the asset name.