Using XPath to Retrieve Inner XML String from Custom Attributes

Description

The user has a need to refer to an XML string within AgilePoint custom attributes. However, when using Xpath as a reference, the XML structure is ignored and is returned as plain text.

Applies To

AgilePoint users with processes that refer to strings of XML code in the custom attributes.

Resolution

To refer to a literal XML string from an Xpath, add a tilde (~) at the end of the path. Adding the tilde returns the inner XML for the element the Xpath refers to. The following example shows an Xpath with the tilde:

$XMLREPEATING2HTML(${/exp:expenseReport/exp:items~})