473,385 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Xalan on the command-line, classpath

What are the rules for classpath, when using Xalan on the command
line?

I'm using java J2SE 1.6.0 but haven't used Xalan for a while and ran
into all kinds of troubles today. Of course, I went to the Apache
site and got the binary jar's, since it looks like Sun stopped
including it.
I'd also like some advice on using compiling servlets that will use
Xalan for a Tomcat webapp. Do you have to explicitly specify your
classpath, still ?
Thats what I had to do, but I thought there were better ways.
Suggestions please.
TIA
Jun 27 '08 #1
3 1992
awebguynow wrote:
What are the rules for classpath, when using Xalan on the command
line?
http://xml.apache.org/xalan-j/faq.html:
# Issues running Xalan-Java on JDK 1.3
# Issues running Xalan-Java on JDK/JRE 1.4 or higher
# Issues running Xalan-Java on Tomcat with JDK 1.4
Jun 27 '08 #2
I had no luck trying to use xalan j_2_7_1 either on command-line
(WinXP) or in Tomcat environment. Is it unusable ?
I'm sure I am not alone in this problem.
What is the best solution ? To step back to a usable version of
Xalan ? maybe 2.6 ?

Also, what is the compiled jar for ? xsltc.jar ? is this needed ?
when ?
TIA for your reply.

Jun 27 '08 #3
awebguynow wrote:
Is it unusable ?
Worked fine for many others. Have you followed the pointer I gave and
checked out the instructions on Xalan's website?
Also, what is the compiled jar for ? xsltc.jar ? is this needed ?
when ?
XSLTC mode executes stylesheets by compiling them down to Java code
rather than by interpreting them. This takes longer to prepare the
stylesheet for use, but thereafter yields faster execution; it's
particularly useful for stylesheets which will be invoked repeatedly and
changed relatively rarely. Again, see Xalan's online documentation for
more information about this trade-off.
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: al dav | last post by:
Hi all ok i am not a java programmer I am a sys-admin, my users want xalan and have already got j2sdk_1.4.2 so i have downloaded it and set the CLASS_PATH export...
0
by: Guillaume Jeudy | last post by:
Hi, I'm trying to serialize a DOM constructed from the following URL which is subject to change very frequently: ...
7
by: Ganesh Gella | last post by:
Hi All, I am planning to use Xalan to transform XML data by applying xls stylesheets. Here tricky part is, Xalan provides several C++ APIs, which are very much useful if our requirement is...
2
by: Dr. Roger Wießner | last post by:
Hello! I am a newbie to XSLT and need a freeware/GNU Tool to get experience with this new topic. Which one is a good XSLT? Xalan or Saxon, or which one else? Thank you a lot!
7
by: RC | last post by:
First, let me say I couldn't find a group discuss XML/XSLT. So I only choose the closest groups to post this message. Here is part of my *.xsl file <xsl:stylesheet...
1
by: Papastefanos Serafeim | last post by:
I want to use the <xsl:document> XSLT command with xalan, but I get the following error message -------- XSLT Error (javax.xml.transform.TransformerConfigurationException):...
0
by: terry.jeske | last post by:
Hello, I am trying to upgrade an application that was previously running on Xalan 1.4.2, to 2.7.0. I have worked out the build issues and now the application compiles with the new xalan and...
3
by: Avalon1178 | last post by:
Hi, I recently downloaded the xalan-c source code in http://mirrors.ccs.neu.edu/Apache/dist/xml/xalan-c I followed the instructions from the apache site on how to build it (I already have...
2
by: henribastien | last post by:
I'm trying to return an array from a xalan extension but so far I have made no progress. What I would like to return is something like that <entry id="red">201</entry> <entry...
1
by: redcic | last post by:
Hi, Does anyone know which version of Java Virtual Machine I need to run Xalan 2.7.0. I've got difficulties with Java 1.1.8. Thanks, Cédric
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.