Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
To Read XML File
Kiran Sonaje
Greenhorn
Posts: 23
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How can I read xml file using
java
? Which way is more suitable and optimize in performance?
Prashant Jain
Greenhorn
Posts: 29
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This could get you started.
http://xml.apache.org/xerces2-j/faq-dom.html
Based upon your need you could also look at the SAX api.
regards
Prashant Jain
Mattias Arthursson
Ranch Hand
Posts: 90
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It all depends on the situation. If the XML documents to be parsed are expected to be very large you'll probably want to use SAX, but for smaller documents DOM or some external tool like Castor will be easier to work with.
Admit nothing. Blame everyone. Be bitter.
Srinivasa Kadiyala
Ranch Hand
Posts: 237
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have pasted sample code last week under Java Development ( Intermediate) section.Pl see the code.May be useful for u
Srini
Srinivasa Kadiyala
Ranch Hand
Posts: 237
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Not Java Development(Intermediate).In this section only.
Sorry....
Srini
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Updating a xml file inside a jar file
Problem with jakarta commons dbcp
XML File Reading
xml file transform to serializable object.
problem with if-condition
More...