Read XML Collection From Within A Collection

Post date: 2019-12-07 06:53:57
Views: 37
This XML is of an online form, in which a user can enter data for up to 5 different markets, and add any number of SKUs associated with each market (in this example the user has chosen 2 markets, 3 SKUs for the 1st market and 2 SKUs for the 2nd). I need to read all the data from this XML by market - how do I read the SKU data per market?

For all the other (non-SKU) fields I'm using different XPath queries - e.g. //Market - to return all the e.g. Market data and move into a collection, then return all the e.g. Retail data and move into a collection etc., and I know that the collection data at index 0 is from the 1st form section - i.e. 1st Market, index 1 is from the 2nd, etc. But I don't know how to say, "give me all the SKUs that are in the 1st form section/ 1st Item/ 1st Market, then give me all the SKUs that are in the 2nd form section/ 2nd Item/ 2nd Market, etc.
Number of Comments
Please click Here to read the full story.
 
Other Top and Latest Questions:
6 portfolio stock earnings and the Fed's favorite inflation gauge dominate the week ahead
Senate passes reauthorization of a key U.S. surveillance program after midnight deadline
Nvidia dragged to worst day since March 2020 after Super Micro plunge
Goldman Sachs is strong, Netflix raises questions: What we learned from earnings this week
Men's "Evening dress" for museum show opening - what's that look like?
strap
Sewing More than Fabric
VW workers in Tennessee vote to join UAW in historic win for Detroit union
Earnings momentum: Analysts are getting more bullish on these names reporting next week
These 5 stocks will power the AI revolution as data centers spread and electricity demand doubles, says Bank of America