Using Xpath to retrieve inner XML string from custom attributes

Expand / Collapse
 
     

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~})

Keywords

Xpath, inner XML, string, literal, retrieve, call, display


Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Tuesday, October 04, 2011
Last Modified By: MichaelDa
Type: HOWTO
Article not rated yet.
Article has been viewed 1,650 times.
Options