Skip to main content



      Home
Home » Archived » BIRT » Using Parameter in XPath query
Using Parameter in XPath query [message #1215059] Wed, 27 November 2013 19:05 Go to next message
Eclipse UserFriend
This is driving me nuts so hopefully someone can point me in the right direction. I'm using RSA and trying to generate a BIRT report. I created a data set and I'm trying to get a list of Call Operation Actions which are part of a use case (I'll be using this for my subreport).
This is the query I have:
instanceOf(//*,"uml:CallOperationAction")/context/namespace[@name="{?ucName?}"]


As you can see I have created a parameter called ucName. This is not a report parameter, just a data set parameter.

Well, I get nothing as output. If I replace the parameters ucName with a sample text, i do get the right output.
I though BIRT supported passing of parameters to XPath queries; although I'm not sure if this is true only for Report Parameters.

Any help?

Thanks
Re: Using Parameter in XPath query [message #1219588 is a reply to message #1215059] Wed, 04 December 2013 13:52 Go to previous message
Eclipse UserFriend
Any way you can attach an example (.rptdesign and .xml) I can run, showing the issue?
Previous Topic:null null,null value in selected field after running the reports
Next Topic:BIRT-Two Page Template
Goto Forum:
  


Current Time: Mon Apr 21 06:46:30 EDT 2025

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

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

Back to the top