Jump to content

xml parsing


akamathb

Recommended Posts

Hi All,i have the below input file.<data jsxid="jsxroot"><record jsxid="100" slno="1" property="DISTRIBUTION1" operator="=" value="UNITED KINGDOM"/><record jsxid="101" property="BRAND OWNER1" operator="Contains" value="HOOK"/><record jsxid="101" property="" operator="" value="HOOK"/><record jsxid="10111" property="BRAND OWNER2" operator="Contains" value="HOOK"/><record jsxid="100" slno="2" property="DISTRIBUTION1" operator="=" value="UNITED KINGDOM"/><record jsxid="101" property="BRAND OWNER1" operator="Contains" value="HOOK"/><record jsxid="101" property="" operator="" value="HOOK"/><record jsxid="10111" property="BRAND OWNER2" operator="Contains" value="HOOK"/></data>i have to check for slno attribute in each record and if it exists, i have to collect the set of records till i get the next slno and i have to process those records.how to retrive group of records based on slno?pls help

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...