On Thu, 5 Sep 2002, Devin Atencio wrote:

> I am trying to find out a way I can pass a variable that is basically
> an XML document to xslt_process and make it all work. My script

$xmldata = "<a whole boatload of well-formed XML>";
$xsltArgs = array( '/_xml' => $xmlStr );
$xp = xslt_create();
$result = xslt_process( $xp, 'arg:/_xml', 'file.xsl', NULL, $xsltArgs );

Don't waste the code/resources on putting the xml into a file.

        g.luck,
        ~Chris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to