Skip to main content
Skip table of contents

Page planning with XPath (censhare Client)

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:

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

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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.