I'm a total newbie in scripting and unfortunately been recently assigned a task to parse XML to HTML files with a (imo) somewhat complex output requirement.Please take a look at my example XML file herehttp://ge13c.theborneopost.com/swf/xml2/election2008.xmlI'm requested to parse this XML to HTML table with the following requirement:
- Output 30 sets average per page (can do it manually since its only 10+ pages, just need the script to select 1-30 sets for first page, then 31-60 sets etc)
- Bold the sets with the tag status winner (blue square in pic)
- Combine the table cells of all identical parlimen_seat's parlimen_seat and location to one cell (see red square in pic)
- (optional but nice) give each winning party a color, for example sets with BN winners will be colored in blue, sets with PKR will be in red, etc.