BIRT XPath expression [message #1799562] |
Mon, 10 December 2018 10:52 |
Christina Lichtner Messages: 2 Registered: December 2018 |
Junior Member |
|
|
Hi,
possibly someone can help me with the following problem?:
I have XML data like this:
<Additional key="Test temperature [°C]" value="23" dataType="STRING" path="Additional<Test temperature [°C]>#23"/>
<Additional key="Upper limit of tolerance (Test temperature) [°C]" value="+0" dataType="STRING" path="Additional<Upper limit of tolerance (Test temperature) [°C]>#+0"/>
I have to choose the value for "test temperature", so my XPath expression is as follows:
//Additional[@key="Test temperature [°C]"]/@value
But because of the square brackets "[° C]" I have an error: "The filter definition is invalid"
Seems like BIRT has a problem with special characters. Can someone tell me how to escape square brackets in BIRT or solve the Problem in another way?
|
|
|
Powered by
FUDForum. Page generated in 0.04355 seconds