Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: XML::Parser multilanguage support

by lucdewav (Initiate)
on Jul 08, 2001 at 14:11 UTC ( #94814=note: print w/replies, xml ) Need Help??

in reply to Re: XML::Parser multilanguage support
in thread XML::Parser multilanguage support

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:
#!/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; }
Would you know another perl XSL parser? Thanks a lot. Luc

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://94814]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-10-26 06:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.