Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can you walk us through the steps necessary to parse XML
documents?

Answers were Sorted based on User's Feedback



Can you walk us through the steps necessary to parse XML documents?..

Answer / chandrasekhar

1.create a instance of DocumentBuilderFactory Object using
newInstance() method.
2.get reference to DocumentBuilder object using
newDocumentBuilder() method of DocumentBuilderFactory.
3.get reference to Document object of the xml file to be
parsed by using DocumentBuilder.parse(File xmlfile) with
File object as argument.
start using Document object to get the elements of the xml
file using getElementsByTagName(),getElementsByName()

Is This Answer Correct ?    7 Yes 0 No

Can you walk us through the steps necessary to parse XML documents?..

Answer / guest

Superficially, this is a fairly basic question. However, the
ball is not to determine whether candidates understand the
concept of a parser but rather have them walk through the
process of parsing XML documents step-by-step. Determining
whether a non-validating or validating parser is needed,
choosing the appropriate parser, and handling errors are all
important aspects to this process that should be included in
the candidate's response.

Is This Answer Correct ?    4 Yes 0 No

Can you walk us through the steps necessary to parse XML documents?..

Answer / sree

can u tell me the steps

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More XML XSLT RSS Interview Questions

When should I use a cdata marked section?

0 Answers  


Why should I use xml?

0 Answers  


What are possible ways XML used in j2ee WebApplication.Like storing data in to database and for data transfer .Apart from this any uses.

0 Answers  


How do I set up google rss feed?

0 Answers  


Do xml namespaces apply to entity names, notation names, or processing instruction targets?

0 Answers  


How does xml handle metadata?

0 Answers  


What are the different types of parts used in xsl?

0 Answers  


What are the limitations of dtd?

0 Answers  


How does xml handle white-space in my documents?

0 Answers  


What are the element naming conventions in XML ?

3 Answers  


What is xml and its advantages?

0 Answers  


Define xlink and xpointer?

0 Answers  


Categories