• 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

need help with Xerces

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 445
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
catch it before it slithers away! Oh wait, it's a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic