AHStompoRoDog
New Member
Can i use Sax Parser to parse any type of complicated xml arrays?
I want to parse an XML file which can parse any type of xml arrays like:-\[code\]<?xml version="1.0"?><!DOCTYPE company SYSTEM "File2.dtd"><company><employee> <id>H121</id> <experience>4</experience> <name>mkyong</name> <salary>10000</salary> <salary>25000</salary> <address> <street>downtown</street> <city>NY</city> </address></employee><employee> <id>H122</id> <experience>5</experience> <name>sadwe</name> <salary>250000</salary> <salary>300000</salary> <address> <street>mayfair</street> <city>NY</city> </address></employee></company> \[/code\]
I want to parse an XML file which can parse any type of xml arrays like:-\[code\]<?xml version="1.0"?><!DOCTYPE company SYSTEM "File2.dtd"><company><employee> <id>H121</id> <experience>4</experience> <name>mkyong</name> <salary>10000</salary> <salary>25000</salary> <address> <street>downtown</street> <city>NY</city> </address></employee><employee> <id>H122</id> <experience>5</experience> <name>sadwe</name> <salary>250000</salary> <salary>300000</salary> <address> <street>mayfair</street> <city>NY</city> </address></employee></company> \[/code\]