Pass Parameter to XSLT Using PERL
From: Neal (nealcabage_at_yahoo.com)
Date: 10/19/03
- Previous message: Jürgen Exner: "Re: unique elements (case insentitive) of an array in perl"
- Next in thread: Neal: "Re: Pass Parameter to XSLT Using PERL"
- Reply: Neal: "Re: Pass Parameter to XSLT Using PERL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Oct 2003 00:18:22 -0700
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
- Previous message: Jürgen Exner: "Re: unique elements (case insentitive) of an array in perl"
- Next in thread: Neal: "Re: Pass Parameter to XSLT Using PERL"
- Reply: Neal: "Re: Pass Parameter to XSLT Using PERL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|