-   Linux - Software (
-   -   Xerces, Xalan -- XML + XSL = HTML (

marktaff 10-12-2002 03:00 PM

Xerces, Xalan -- XML + XSL = HTML
Hi guys. I am having problems applying xsl transformation to an xml document with xerces-c and xalan-c.

I originally compiled both from source, and it seemed to work fine. However, xalan just copied the xsl stylesheet to the ouput file without applying any tranformations.

Then I tried the mandrake rpms's. They are naturally a bit older than current, so there is no xalan executable, but instead there is a slightly more powerful `testXSLT` executable. This should work:


#  testXSLT -IN xmltest2.xml -XSL xsltest2.xsl -OUT xmltest6.html
Instead I get:


testXSLT: relocation error: /usr/lib/ undefined symbol: __pure_virtual
So my questions:

1. What do "relocation error" and "undefined symbol" mean?
2. How can I make xerces and xalan actually spit out transformed xml (i.e. HTML or text)?

I am not married to xerces/xalan. If there is another software cobmo you might reccommend that would serve my purposes, that would work great also. All I need is to be able to perfom the transformations manually (as opposed to in real-time for a client request).

Any help is greatly appreciated. Thanks.


P II - 350
Mandrake 9.0/KDE 3.0.3

bah 10-15-2002 11:01 PM

The testXSLT binary is a different version from the xalan dynamic library.

Recompile and install Xalan, and use the XalanTransform program

All times are GMT -5. The time now is 08:14 PM.