getModelUsingStencil

Type: Transform step

Deprecated!

This is deprecated.

Align a stencil with a node, and place the information model extracted from that structure on the stepData.

This transform is deprecated, use inline XPath in operations instead: Instead of:

Other

"steps": {
		"type": "transform/getModelUsingStencil",
		"data": {
			"contextStencil": [null, {"someAttribute": {"bindTo": "some-value"}},{"multiple": true}]
		}
}

Use:

Other

"steps": {
		"type": "operation/some-operation-name",
  	"data": {
    		"some-value": "x__$data('contextNode')/@someAttribute"
		}
}

Imported operation data

  1. contextNodeId

    Type: NodeId

    The nodeId of the node to align the stencil with

  2. stencil

    Type: Stencil

    Stencil containing one or more gaps representing the locations from which to set the values of the model.

Exported operation data

  1. model

    Type: Object