xsl-list
[Top] [All Lists]

Re: XSLT and PHP

2004-07-02 13:04:40
Hi all,
Hi:

I use php to transform my xml and i wanna know if i can use a php var into
my xsl ? and how do that ?
Thanks to all

You can use:

<?

$xslt_param = array("param" => "$paramvalue");

$result =  $xsldoc->process($xmldoc,$xslt_param);
echo $xsldoc->result_dump_mem($result);

?>


[]'s
Lucas Brasilino
brasilino(_at_)recife(_dot_)pe(_dot_)gov(_dot_)br
http://www.recife.pe.gov.br
Emprel -        Empresa Municipal de Informatica (pt_BR)
                Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
Fone: +55-81-34167078



<Prev in Thread] Current Thread [Next in Thread>