Page 1 of 1
XSLT in 2.0 v. 2.0.1
Posted: Mon May 26, 2003 7:33 am
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.
Posted: Mon May 26, 2003 9:57 am
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
Posted: Mon May 26, 2003 5:07 pm
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.
Posted: Wed May 28, 2003 11:54 am
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
Posted: Wed May 28, 2003 2:58 pm
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.