[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Seeking advice on placement of DOM XML parser

  • From: "Amit Rekhi" <amitr@a...>
  • To: "xml list" <xml-dev@i...>
  • Date: Fri, 4 Dec 1998 16:37:24 +0530

dom xmlparser
Sorry for the length.
Hello,
 
I am developing a client side application which expects a DOM object tree
of an XML stream coming from the server as a result of an HTTP request.
To provide the app. with the DOM tree, a DOM XML parser will sit
in between the XML stream and my app.
The parser will convert the XML stream to a DOM object tree
and pass it on to my application.
I am confused about where to place the DOM XML parser
I have thought of 2 places where the parser could reside
but am not sure which place in better.
I'd be grateful if someone could help.
 
 
XML DOM PARSER POSITIONS I THOUGHT OF
 
1) Any browser which supports XML should have an inbuilt XML parser.
Assuming the parser is a DOM complaint one I could use the browser
inbuilt parser to get the DOM tree of a served XML stream.
This would mean
- that an XML stream would first go to a browser
- then I would have to trap the browser processing when a DOM tree is formed
- Retrieve the DOM tree
- Pass it on to my app.
 
 
2) Use a stand alone DOM XML parser which I could incorporate into
my app.This would mean
- that an XML stream would come straight to the XML parser in my app.
bypassing the browser totally
- the XML parser would produce the DOM tree
- The DOM tree would then be passed to the app.
 
QUESTIONS
 
1) Which of the 2 approaches should I use for the DOM tree generation
and why?
2) Any  existing samples/applications which expect DOM trees
as input for processing XML data
and how they manage to get the DOM trees?
 
Thanks in advance for any replies,
 
                                                                                                        AMIT
 
 
 
 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.