Forums Register Login
XML parsing

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"?>
<directoryPaths directoryPaths="D:\loasas\temp1">
<fileID fileID="0">
<applicationName>Microsoft Word 9.0</applicationName>
<createdDate>Wed Dec 08 16:12:00 GMT+05:30 2004</createdDate>
<lastModifiedDate>Thu Dec 09 10:12:00 GMT+05:30 2004</lastModifiedDate>
<modifiedDate>Mon Jan 01 05:33:00 GMT+05:30 1601</modifiedDate>

Thanks in advance
IBM developer works has a tutorial on understanding SAX and DOM.
check out this links


Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 408 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 16, 2018 14:16:33.