Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Passing parameter in Xpath expression in Row mapping of Data set
Passing parameter in Xpath expression in Row mapping of Data set [message #1832442] Fri, 18 September 2020 05:08
Himani Himani is currently offline Himani HimaniFriend
Messages: 3
Registered: September 2020
Junior Member
Hi,

I am using BIRT 4.6.0
Trying to pass a data set parameter in an xpath expression of row mapping.

Attaching xml.

I want to do soemthing like this to fetch a particular row in a data set based on given id .
//PATH3/id/text()={"?p1?"}/PATH4/PATH5


sample snippet of xml
	<PATH2>		
		<PATH3>
			<minimumServiceCharge />
			<id>85</id>
			<PATH4>
				<serviceTypeMessage />
				<PATH5>
					<QAZX5>123364</QAZX5>
					<priceIdCurrency>QQQ</priceIdCurrency>
					<QAZX4>TEST Payment - TTT</QAZX4>
					<QAZX3>1000</QAZX3>
					<HQAZX2>116</HQAZX2>
					<lineType>1</lineType>
					<HQAZX1>NO</HQAZX1>
					<TTAG3>

Previous Topic:BIRT web service REST (JSON)
Next Topic:BIRT Exception - Data Set script method "Fetch" returned null; expected a Boolean value
Goto Forum:
  


Current Time: Wed Sep 22 00:17:36 GMT 2021

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

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

Back to the top