Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » xpath xxpression special characters(problems with square bracket within a string)
xpath xxpression special characters [message #1799485] Fri, 07 December 2018 15:34
Christina Lichtner is currently offline Christina LichtnerFriend
Messages: 2
Registered: December 2018
Junior Member
Hi!

Maybe someone can help me with the following Problem?

I have a XML 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"/>

For selecting the value of the "Test temperature [°C]" my xpath Expression is as follows:
//Additional[@key='Test temperature [°C]']/@value

But after that I have an error "The filter definition is invalid." I know that the error is due to the square brackets inside the string. So how can I escape the brackets or solve this problem in another way?
Previous Topic:issue in displaying BASE64 IMAGE from CLOB to Birt Report in PDF
Next Topic:BIRT XPath expression
Goto Forum:
  


Current Time: Tue Oct 15 22:28:23 GMT 2019

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

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

Back to the top