Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » BIRT XPath expression(problems with square brackets within a string)
BIRT XPath expression [message #1799562] Mon, 10 December 2018 10:52
Christina Lichtner is currently offline Christina LichtnerFriend
Messages: 2
Registered: December 2018
Junior Member

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&lt;Test temperature [°C]&gt;#23"/>
<Additional key="Upper limit of tolerance (Test temperature) [°C]" value="+0" dataType="STRING" path="Additional&lt;Upper limit of tolerance (Test temperature) [°C]&gt;#+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?
Previous Topic:xpath xxpression special characters
Next Topic:IBM Optim Connect JDBC for BIRT
Goto Forum:

Current Time: Sun Sep 27 16:02:01 GMT 2020

Powered by FUDForum. Page generated in 0.02225 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top