Skip to content

Model configuration

Model

Syntax

<Model>    
  <ModelAttributeInjections>
    <ModelAttributeInjection ... />
  </ModelAttributeInjections>
</Model>

Child sections

Section Description
ModelAttributeInjection See ModelAttributeInjection

ModelAttributeInjection

Syntax

<ModelAttributeInjection
  modelXPath="<model-xpath>"
  targetAttribute="<target-attribute>"
  targetValue="<target-value>"
  targetXPath="<target-xpath>"
/>

Parameters

Parameter Description Default Remark
modelXPath1 The XPath to apply on the model to get to the element on which to inject the attribute.
targetAttribute1 The name of the attribute to inject.
targetValue2 The value of the attribute to inject.
targetXPath2 The XPath to apply on the model element to get the target value.

  1. required parameter 

  2. one of the parameters is required