Skip to main content

Question on using event handler with SAX parsing and DOM

1 reply [Last post]
user7588
Offline
Joined: 2010-02-17
Points: 0

I plan to use SAX parsing for my project. The event handler logic gets complex and not clean when using SAX parsing. I was wondering if it is possible to capture events and create the DOM document for each row we are interested in and parse dom document to capture the information we want at each row end element notification? Can some one shed some light if we can achive this? Please provide your suggestions.

for example if we can create a dom document and add all elements, attributes for the row as events happen for row tag, During end element notification we could use dom methods to get what we want from each row.. If we can achive this that way the event handler would be clean.

200User1.....

...

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
valime
Offline
Joined: 2010-03-13
Points: 0

Hi,

I want to ask you something... Can you help me showing me how to create a Sax Parser and using DOM with Java FX please?