aspose file tools
The moose likes XML and Related Technologies and the fly likes need help with Xerces Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "need help with Xerces" Watch "need help with Xerces" New topic
Author

need help with Xerces

Craig11111
Greenhorn

Joined: Nov 30, 2001
Posts: 2
Ok, I'm new to XML, and when I went to download Xerces from Apache's website, it gave me a long list of files, and I don't know which to download. I got the one that was 1.5MB and described itself as the program. However, after I extracted it, i only had jar files and batch files. Where is the executable?
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Originally posted by Craig Hartel:
i only had jar files and batch files. Where is the executable?

That is just what you want.
Becoz what you download is a Java application(just in the jar files), there is no explicit .exe excutable file. Follow the batch files, you can get it excuted.

Doug


Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
Joe Gilvary
Ranch Hand

Joined: May 11, 2001
Posts: 152
Originally posted by Craig Hartel:
Ok, I'm new to XML, and when I went to download Xerces from Apache's website, it gave me a long list of files, and I don't know which to download. I got the one that was 1.5MB and described itself as the program. However, after I extracted it, i only had jar files and batch files. Where is the executable?

The Apache site has more information on its pages
for installation (http://xml.apache.org/xerces2-j/install.html)
and the pages for the sample programs under
http://xml.apache.org/xerces2-j/samples.html
With the jar files on your classpath you should
have no problem running Xerces.
HTH,
Joe
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Joe's links are good.
But one more word. Running Xerces requires that you have already installed the Java Development Kit (JDK) or Java Runtime Environment (JRE) on you computer and extracted the Xerces-J software. Download JDK1.3 from Sun's java website. Also refer to DeveloperLife.com for instructions and many other great tutorials.
Enjoy yourself.
Doug
Scott Bain
Ranch Hand

Joined: Dec 21, 2001
Posts: 46
Xerces is a package of classes that allows you to parse XML in your own application... so there's no executable per se, but rather a JAR file with various classes needed to perform parsing.
Here's an example of using Xerces as a DOM parser:


You would then call methods on myDocument to "walk the tree".
HTH


Scott Bain<br />Senior Consultant<br />Net Objectives<br />425-591-5844<br /><a href="http://www.netobjectives.com" target="_blank" rel="nofollow">Net Objectives</a><br />----------------------------<br />* Sign up for our free newsletter by sending an e-mail to<br />info@netobjectives.com<br />* Learn about and join our design pattern community of practice by going to<br /><a href="http://www.netobjectives.com/dpexplained" target="_blank" rel="nofollow">www.netobjectives.com/dpexplained</a><br />* Alan Shalloway & Jim Trott's - Design Patterns Explained: A New Perspective on<br />Object-Oriented Design is now available<br />* Our new CDROM-based XML training is now available as well
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: need help with Xerces
 
Similar Threads
XML and Eclipse
XML Parser
Problem with Tomcat, Xerces and Xalan
Cannot load xerces SAXParser
No need for Xerces since Sun includes it in the jvm?