note
lucdewav
thanks,
i also hope your answer will help me;-)
I have got another question:
I also must parse my xml strings with
XSL files. I used to do it with the XML::XSL
module ( v0.24). This module is well integrated
with the XML::DOM because you can easily parse DOM
objects and get a string using the
$XSLParser->transform_document($DOMobject,"DOM") method.
example:
<CODE>
#!/usr/bin/perl -w
use strict;
use XML::XSLT;
use XML::DOM;
...
sub applyXSLDOM
{
my $self=shit;
my $request=shift;
my $xmldom=shift;
my $xsldoc="user\.xsl";
eval{
my $xslparser = XML::XSLT->new($xsldoc,"FILE");
$xslparser->transform_document($xmldom,"DOM");
};
if ($@)
{
return $request->error("XSL Parsing failed: $@");
}
return $xslparser->result_string;
}
</CODE>
Would you know another perl XSL parser?
Thanks a lot.
Luc
94708
94713