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:
Code:
# testXSLT -IN xmltest2.xml -XSL xsltest2.xsl -OUT xmltest6.html
Instead I get:
Code:
testXSLT: relocation error: /usr/lib/libxalan-c.so.1: 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.
--Mark
Specs:
P II - 350
64 MB RAM
4 GB IDE
Mandrake 9.0/KDE 3.0.3