|Re: How to select 2 nodes in XML Dataset [message #1007887 is a reply to message #1007879]
||Thu, 07 February 2013 17:59
| Michael Williams
Registered: July 2009
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.
Michael's BIRT Blog
Powered by FUDForum
. Page generated in 0.01678 seconds