*
The moose likes Product and Other Certifications and the fly likes Question ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Question ?" Watch "Question ?" New topic
Author

Question ?

Vijay Shrivastava
Ranch Hand

Joined: Nov 15, 2001
Posts: 64
There is XML data document which is very large. The application is to extract the very few of its information from document. The memory & speed may be a constraint. Which is the most likely method to be implemented?
a) Extract the information using SAX API, event based methods.
b) To extract the information using DOM API.
c) To extract the necessary information and process using XSLT.
d) To use schema based approach.

Author says answer is b? Can anyone tell me why not a?


Vijay shrivastava
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Yes, ur right. The answer should be a, definitely.

Doug.


Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
Jhimi R
Greenhorn

Joined: Jan 24, 2002
Posts: 3
No way the reply can be b. It is clearly mentioned that - "The memory & speed may be a constraint". Also the size is very big.So the answer definitely is a not b.
Adrian Ferreira
Ranch Hand

Joined: May 29, 2000
Posts: 118
a) Is the best answer. I agree if you.
b) Never, for all those requirements.
c) May be if the XSLT tool were implemented using Sax but not if it use DOM. As nothing is sad, this choice is not right.
d) No matter if you choose DTD or squema.
So, b) is the worst choice, not the best one.
Adrian
[ January 28, 2002: Message edited by: Adrian Ferreira ]
Louis Fegun
Ranch Hand

Joined: Aug 18, 2001
Posts: 60
Hi-
Could you please tell us who the author is as he is misleading innocent newbies. The answer is definitely a.
Louis.
[ January 25, 2002: Message edited by: Louis Fegun ]
Vijay Shrivastava
Ranch Hand

Joined: Nov 15, 2001
Posts: 64
posted January 25, 2002 02:39 PM
--------------------------------------------------------------------------------
Hi-
Could you please tell us who the author is as he is misleading innocent newbies. The answer is definitely a.
Louis.
http://www.javaranch.com/xml/XML_DOM_SAX.htm Mock EXAM of Javaranch.
[ January 25, 2002: Message edited by: Vijay Shrivastava ]
[ January 25, 2002: Message edited by: Vijay Shrivastava ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question ?
 
Similar Threads
Questions on DOM/SAX test from XML Exam List
correct answer
javaranch mock question
DOM/SAX Questions
Sample DOM/SAX Question #4