Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-12-2002, 02:00 PM   #1
Registered: Jun 2001
Location: Bellevue, WA (Seattle)
Distribution: SuSE 9.3-10.0
Posts: 53

Rep: Reputation: 15
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
Old 10-15-2002, 10:01 PM   #2
Registered: Apr 2001
Posts: 38

Rep: Reputation: 15
The testXSLT binary is a different version from the xalan dynamic library.

Recompile and install Xalan, and use the XalanTransform program


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
errors building xerces xml parser on SLES 9 (i586) nkshirsagar SUSE / openSUSE 0 05-02-2005 08:12 AM
XSL need help translating XML to html hyperlink qwijibow Programming 1 03-09-2005 04:36 PM
XML and XSL Kedelfor Programming 4 09-13-2004 05:30 PM
xml parsing with xsl crabboy Programming 2 03-22-2004 01:45 AM
anyone familiar with the xerces xml parser used by apache? zovres Programming 0 03-16-2004 11:58 AM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration