XSLT in 2.0 v. 2.0.1

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Guest

XSLT in 2.0 v. 2.0.1

Post by Guest »

XSL Transformations that worked with no problems under 2.0, suddenly stop producing anything in the upgrade to 2.0.1. Have there been any major changes I didn't notice in the release notes with how Oxygen transforms XML? I get the desired HTML documents output with more or less the right HTML code but none of the values or data extracted from the XML is present.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

We put the latest Xalan in oXygen 2.0.1 that is the 2.5.0 release.
Oxygen 2.0 uses Xalan 2.5.D1. You can replace xalan.jar from oXygen with the version you want to use, but I guess the stylesheet should work also with the 2.5.0 release. Can you post a sample stylesheet you have problems with ?

Best Regards,
George
obere
Posts: 2
Joined: Mon May 26, 2003 5:03 pm

Post by obere »

http://www.cogx.com/ctw/book.xsl
http://www.cogx.com/ctw/algo.xsl

It's not mine but is probably easier to follow. I've been working off this and other examples dealing with Topic Maps but none of them work in new Oxygen. They worked fine with the Xalan I had installed on my Mac but it's been several months so it's probably an older version.
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Post by Dan »

Indeed, there is a bug in the current version of Oxygen (2.0.1) that prevents the use of namespaces in XSL templates.

We have made an update that fixes this problem. There is an "All platforms" distribution at this location:

http://www.oxygenxml.com/update/oxygenA ... .0.2b1.zip

You have to unzipp it, then copy all the files from the "lib" directory in the "lib" directory of your current installation.

For example, on Windows it can be:

C:\Program Files\Oxygen2.0.1\lib

If you are using Mac OS X you have to explore the application bundle (Use "Show PAckage Contents" in Finder contextual menu), and copy the files here:

oxygen.app/Contents/Resources/Java
obere
Posts: 2
Joined: Mon May 26, 2003 5:03 pm

Post by obere »

That's great ! Worked like a charm. Thanks for all your help. This is a really great product so keep up the work.
Post Reply