N
Neal
I need to know how to pass a parameter from PERL to an XSLT when using
that XSLT to transform XML. For instance, I'd like to pass a paramter
that I retrieve from the queryString and pass it into XSLT which will
create my HTML.
Here's what I have for the basic transformation:
#!/usr/local/bin/perl
use XML::XSLT;/
$xmlfile = "resume.xml";
$xslfile = "resume.xsl";
$parser = XML::XSLT->new ($xslfile);
$parser->transform($xmlfile);
$parser->print_result();
Does anyone know what I would need to pass the paramter?
Thanks.
Neal
that XSLT to transform XML. For instance, I'd like to pass a paramter
that I retrieve from the queryString and pass it into XSLT which will
create my HTML.
Here's what I have for the basic transformation:
#!/usr/local/bin/perl
use XML::XSLT;/
$xmlfile = "resume.xml";
$xslfile = "resume.xsl";
$parser = XML::XSLT->new ($xslfile);
$parser->transform($xmlfile);
$parser->print_result();
Does anyone know what I would need to pass the paramter?
Thanks.
Neal