Hi,
I am using SAX parser to read XML document.My objective is to store the contents to the HashTable as values and attribute value as key.
How do i do this using SAX parser?
Below is the XML file:
<?xml version="1.0" encoding="UTF-8"?>
<LocalCrawler>
<directoryPaths directoryPaths="D:\loasas\temp1">
<fileID fileID="0">
<location>specialchar.doc</location>
<title>abc</title>
<author>xyz</author>
<applicationName>Microsoft
Word 9.0</applicationName>
<keywords></keywords>
<createdDate>Wed Dec 08 16:12:00 GMT+05:30 2004</createdDate>
<lastModifiedBy>xyz</lastModifiedBy>
<lastModifiedDate>Thu Dec 09 10:12:00 GMT+05:30 2004</lastModifiedDate>
<modifiedDate>Mon Jan 01 05:33:00 GMT+05:30 1601</modifiedDate>
<subject></subject>
<comments></comments>
<data>hdfdfhdjfdj</data>
</fileID>
</directoryPaths>
</LocalCrawler>
Thanks in advance