Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

davorg (18)

davorg
  dave@dave.org.uk
http://dave.org.uk/
Yahoo! ID: daveorguk (Add User, Send Message)

Hacker, author, trainer

Technorati Profile [technorati.com]

Journal of davorg (18)

Tuesday March 12, 2002
02:40 PM

XSLT

[ #3464 ]

I've been learning XSLT. It's something that I've been meaning to learn for some time, but all the books I've looked at before have just left me confused. For some reason I'm finding the new(ish) O'Reilly XSLT book a lot easier to follow. It only took me about an hour to create an XSLT document to convert my CV from XML to XHTML.

The next step is to convert it into other formats like PDF and postscript and for that you need XSL-FO. The ORA book doesn't cover that in any depth but I've found an online book by Dave Pawson which seems pretty useful. And there's always the complete W3C specs to fall back on. It's far from complete, but I'm certainly making progress on creating a PDF of my CV.

I feel a bit dirty tho'. The tools I've been using have been written in Java. I've been using Xalan for XSLT and Fop for XSL-FO. It's the first time I've really used any kind of Java tools - so it's been a very quick lesson in .jar files and CLASSPATHs and the like[1]. I'm actually starting to understand it now.

I still don't like Java as a programming language tho'. I'm just using the tools :)

[1] Why don't java class libraries come with an installation script that automatically installs the classes into a standard directory? That's one area where Perl scores heavily over Java IMO.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • You might want to look at stuff inside AxKit for PDF conversion. There's AxPoint [axkit.org] (also available outside of AxKit) and Apache::AxKit::Language::PassiveText (not available outside I think, though I guess that could change).

    Both are definitely interesting.

    --

    -- Robin Berjon [berjon.com]

  • Why don't java class libraries come with an installation script that automatically installs the classes into a standard directory? That's one area where Perl scores heavily over Java IMO.

    I think you'd be spending your time better if you asked Andreas and Jarkko why Perl modules generally do the right thing when you try and install them. :-)

    All of the best XSLT tools are written in C (or Perl) these days, even if most of the XSLT tools are written in Java. Go figure. Daniel Veillard's libxslt (and l