Skip to main content

Function: relToXpathDetail()

function relToXpathDetail(rel): RelToXpathDetail;

Defined in: xpath.ts:1287

Translates REL back to the XPath an XLSForm cell carries. ${…} references stay ${…} — XLSForm keeps them and pyxform expands them — so most references are an identity mapping.

Sub-expressions with no XPath shape are emitted as their REL text and flagged (exportable: false); the exporter writes those into a rasd::<column> placeholder with W_REL_UNEXPORTABLE rather than into the real column.

Parameters

ParameterType
relstring

Returns

RelToXpathDetail