• 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

Xalan

 
Ranch Hand
Posts: 763
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to use Xalan.jar file to read xml file.

from where to download Xalan.jar ?

can anybody guide me in a perfact direction ?
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not a servlet question
Xalan is an JAXP compatible parser.You should be able to use the JAXP factory classes to instintiate the parser.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Note that there is no need for an additional library to read XML if you have Java 1.4 or later. If you really need a copy of Xalan.jar do a google search for "apache xalan download" - If you are trying to read this XML file in a servlet environment you should not need any added jar file since all servlet containers use XML.

Bill
[ February 01, 2007: Message edited by: William Brogden ]
 
Jigar Naik
Ranch Hand
Posts: 763
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes I'm using jdk 1.5

but why there is no need of Xalan.jar ???
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jigar Naik:
yes I'm using jdk 1.5

but why there is no need of Xalan.jar ???



That is incorporated in the core jdk jar.rt.jar , in case of 1.4 , might be the same for jdk 1.5.
[ February 01, 2007: Message edited by: Rahul Bhattacharjee ]
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Like Rahul said, the standard Java library has contained XML tools since Java 1.4 - following the JAXP standard. Java 1.5 added XPath, validation and some other functions I can't remember right now.
Just browse the JavaDocs for packages starting "javax.xml" - every Java developer should have a local copy of the JavaDocs.
Bill
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic