Questions tagged [xalan]

Xalan is an open source XSLT 1.0 processor with implementations in Java and C++.

Xalan is an open source XSLT 1.0 processor with implementations in Java and C++.

409 questions
3
votes
2 answers

Incremental/streaming XSLT transformations?

I'm normally using the XSLT support in the JDK (JDK 7) for XSLT transformations. Recently I've come across a rather large XML document, and applying XSLT transformations to this (even very basic ones) causes a lot of memory to be used. I've been…
dexter meyers
  • 2,798
  • 2
  • 18
  • 22
3
votes
2 answers

How do you build Xalan-C with Visual Studio 2010?

I can not find proof that it's possible. After 40 hours of driving myself to insanity, I'm left with a situation where I cannot build the Localization project that supposedly builds a header file needed by the poorly named AllInOne project (which…
Rhubarb
  • 3,893
  • 6
  • 41
  • 55
3
votes
2 answers

Get current nodes xpath

I need to get the xpath of current node for which i have written an xsl function
rohit
  • 953
  • 5
  • 15
  • 31
3
votes
1 answer

How to override jar inside of Jboss 5.1 lib/endorsed directory?

We need to have the newest version of the Xalan/Serialize/Xerces jar files run inside our ear. The version inside of Jboss's 5.1 lib/endorsed directory are being loaded first when we run our application code and subsequently get…
Paul Lemke
  • 5,494
  • 3
  • 47
  • 66
2
votes
1 answer

Could not find the main class: org.apache.xalan.xslt.Process

As part of a project, I have been asked to carry out an XML to HTML transformation. I have to use Xalan Version 2.7.0. However when I set the CLASSPATH for xalan in command prompt: set CLASSPATH=%CLASSPATH%;I:\Xalan\xalan-j_2_7_0\xalan.jar and try…
Joanne
  • 21
  • 1
  • 2
2
votes
1 answer

Caching fetches of Java XSLT processor (Xalan) for document()

I'm using the XSLT processor in JDK 1.6 (Xalan) and I make extensive use of the document() function to retrieve data items from documents downloaded from the web. This processing is done as part of the work to render a web page, and it's currently…
Fabrizio Giudici
  • 532
  • 3
  • 15
2
votes
1 answer

xslt error: Extra illegal tokens: 'eq', ''center'' when transforming my xml via xsl/xslt via xalan/java

i am trying to transform my xml via java/xalan (2.7.1) with org.apache.xalan.xslt.Process class I am getting "Extra illegal tokens" and not sure of the work around i basically want to pass in a parameter to a Template and then use that parameter as…
user825402
  • 189
  • 3
  • 13
2
votes
1 answer

java.lang.ClassNotFoundException: org.apache.xml.serializer.OutputPropertiesFactory is thrown after upgrading xalan to 2.7.3

I have java code that exports some data into an excel file. ( I only included below what I think are the relevant parts in the code) Everything worked fine but then I upgraded my xalan from 2.7.2 to 2.7.3 and it stoped working. the reason -…
Tal Levi
  • 363
  • 1
  • 6
  • 22
2
votes
1 answer

Xalan+ XSLT+ JAVA

My xsl file
Ivan
  • 33
  • 2
  • 5
2
votes
1 answer

How to implement siblings nodes (XPATH expressions) relation in Java using DOM and XALAN processor

Hello everyone I am developing a program in Java to read the XML using XPATH for siblings nodes (elements which are same level) I am not able to implement below XPATH expression in…
sunil
  • 50
  • 8
2
votes
1 answer

How to fix vulnerability(CVE-2022-34169) in selenium:htmlunit-driver:3.62.0. It is coming from Xalan Java » 2.7.2 as a direct vulnerability

How to fix vulnerability(CVE-2022-34169) in selenium:htmlunit-driver:3.62.0. It is coming from Xalan Java » 2.7.2 as a direct vulnerability we are using org.seleniumhq.selenium:htmlunit-driver:3.62.0 in our karate framework. Whitesource scan is…
2
votes
0 answers

Compilation Failing for xalan-c in Ubuntu

I am trying to build xalan-c (version 1.12) with icu in Ubuntu but it fails. Could anyone help me with this. Environment : Ubuntu 20.04 Steps to reproduce : Clone xalan-c cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH="path to vcpkg installed…
2
votes
1 answer

Which XSLT Processor for C++?

I started off with Xalan for C++, but that really seemed like overkill for this project. I will have an XML file in memory, there is one stylesheet to run it through... and that's pretty much it. The input XML and the stylesheet are all in-house and…
IcedDante
  • 6,145
  • 12
  • 57
  • 100
2
votes
2 answers

Getting an Eclipse C++ environment running with Xalan

I have been working on getting a C++ IDE going on my 64-bit Windows 7 machine. It's been frustrating, mostly because of the incompatibilities of 32 and 64 bit programs using Eclipse IDE for C/C++ Developers Well, I finally got HelloWorld compiling,…
IcedDante
  • 6,145
  • 12
  • 57
  • 100
2
votes
1 answer

Unexpected result when iterating descendants in node-set using //

In my simple XSLT transformation using standard JDK stuff I am getting unexpected result when using // shortcut. package my.xslt.test; import java.io.StringReader; import java.io.StringWriter; import javax.xml.transform.Templates; import…
Jan Tosovsky
  • 498
  • 5
  • 18