Talkback for article: 156, July2000

An Introduction to Perl's XML::XSLT module

Back to:

From: jim chavez <mycatlunch(at)> [ date: 2001-02-14 ]
keeps closing out netscape

what do i do?
From: Avram Aelony <aelony(at)> [ date: 2001-03-26 ]

Does anyone know if an XML module supporting schemas exists?
I'd like to type-check, set valid ranges, etc..
any information useful - thanks.
From: Harsh <harsh_tibarewala(at)> [ date: 2001-06-27 ]
is this module(XML::XSLT) working perfectly ? if yes, can i install it with PPM ? if yes pls let me know how to do it ?

i am running IIS webserver on Windows 2000 server with ActivePerl build 518.
From: Ash <itb075(at)> [ date: 2002-07-26 ]
I am struggling with this xml::xslt module.

I am rewriting stuff written in CGI/PERL TO XML/XSL.

I need to get xsl to output HTML, but save it as a xml file

How do i acheive that ????????/

Hope to hear from you soon.

Many Thanks.
From: Trah [ date: 2002-10-31 ]
XML::XSLT has been updated.
Here is revised code for the first example.

use XML::XSLT;

my $xmlfile = "xslt1.xml";
my $xslfile = "xslt1.xsl";

my $xslt = XML::XSLT->new ($xslfile, warnings => 1);
$xslt->transform ($xmlfile);
print $xslt->toString;

$xslt->dispose ();

From: Henry <schade(at)> [ date: 2003-04-14 ]
I've looked at your "home page". It shows that the XSL can come from a string input. It does not mention if the XML can some from a string input.

What I currently have is a form submitted to perl that dynamically outputs XML to the browser, referancing the XSL files I have wrote to format the text. Discovered this does not work in Netscape, only "see" the raw XML data.

If I could have my dynamic output go through your module, that would be SWEET. Looks like it would only be a few lines added to what I currently have. Feel free to email me.
From: Nelson <naxelrod(at)> [ date: 2004-01-05 ]
I have a Perl script that generates dynamic XML, saved as a string variable $xml, and references an XSL file. The XSLT processor appears to do its job without generating any errors, but the $xslt->toString() doesn't seem to output anything to the browser (or command line). The $xml variable in the code below is a string that contains well-formed xml.

use XML::XSLT;

my $xsl = "gem.xsl";
my $xslt = XML::XSLT->new ($xsl, warnings => 1);

$xslt->transform ($xml);

7 talkbacks in English
Other talkbacks:   Francais

Due to the increased amount of web spam we have deciced to removed the talkback posting possibility. You can read old talkbacks but you can no longer post new ones.

Back to

Please contact webmaster(at) if you have any questions with regards to this talkback

lftalkback version 3.10