| How to select 2 nodes in XML Dataset [message #1007204] |
Mon, 04 February 2013 18:26  |
Brad M Messages: 20 Registered: September 2009 |
Junior Member |
|
|
Tried setting xpath (Row Mapping in edit DataSet) to //class1|//class2 but it doesn't match. I get the message on the Column Mapping screen that says: "The table mapping XPath does not exist"
Is there a way to do it?
Thanks
Brad
|
|
|
|
|
|
|
|
|
| Re: How to select 2 nodes in XML Dataset [message #1007887 is a reply to message #1007879] |
Thu, 07 February 2013 17:59   |
|
Ok. If you have a node that is unique to only the ones you want, you should be able to do something like:
//nodeUniqueToThoseYouWant as the row expression.
Then, for the columns, you'd just do ../fieldName1, ../fieldName2, etc.
In this example, I added a <bike> to the xml and added a node to the cars and trucks called property. So, my row xpath was //property and my columns were ../type and ../wheels. This gave me the data for only the cars and trucks that had this node, "property". Hopefully this helps.
Regards,
Michael Williams
BIRT Exchange
Michael's BIRT Blog
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01678 seconds