alibaba82
17 years agoSuper Contributor
Groovy XML Parsing Help
Hello,
I have a element that looks something like this
3085 CBFT CBFT - Société Radio-Canada CBFT 0 2 Analog
15756 CBFT-HD CBFT-HD ( SOCIÉTÉ RADIO-CANADA ) CBFT-HD 3085 2.1 2.1 Digital
I am trying to write some kind of loop that does the following.
1. count number of 'Channel'
2. for each Channel, store all of its attributes (e.g. source_id, short_name, etc) into some variable.
Can you help me out with this.
Thanks
Ali
I have a element that looks something like this
I am trying to write some kind of loop that does the following.
1. count number of 'Channel'
2. for each Channel, store all of its attributes (e.g. source_id, short_name, etc) into some variable.
Can you help me out with this.
Thanks
Ali