[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSLT and PHP

Subject: RE: XSLT and PHP
From: "Pierre" <pierre@xxxxxxxxxxxxx>
Date: Fri, 2 Jul 2004 22:14:49 +0200
xsldoc process
Great !!! thanks a lot

By the way you know how i can resolve this please 
<xsl:variable name="choice"><xsl:value-of select="desc" /></xsl:variable>
		<xsl:for-each select="../../SELECT/$choice">
Xslt won't work with this 

Pierre 

-----Message d'origine-----
De : Lucas Brasilino [mailto:brasilino@xxxxxxxxxxxxxxxx] 
Envoyé : vendredi 2 juillet 2004 21:05
À : xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Objet : Re:  XSLT and PHP

> 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@xxxxxxxxxxxxxxxx
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


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--+--




Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.