Re: XSLT - Sablotron
| From: | nicos@php.net | Date: | Thu, 05 Sep 2002 20:10:05 +0000 |
| Subject: | Re: XSLT - Sablotron | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115349@lists.php.net to get a copy of this message | ||
You should put the content into a file.
--
Nicos - CHAILLAN Nicolas
nicos@php.net
www.WorldAKT.com - Hébergement de sites Internet
"Devin Atencio" <dreamboy@aros.net> a écrit dans le message de news:
067301c25516$ff18c4d0$0901000a@devin...
>
> 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
> works if I have:
>
>
> $xp = xslt_create();
> $result = xslt_process($xp, 'test.xml', 'test.xsl');
>
> however, if I try to do:
>
>
> $xp = xslt_create();
> $result = xslt_process($xp, $xmldata, 'test.xsl');
>
> it won't work. $xmldata contains an XML document, but for some reason
> it errors out on me, any ideas on how to make this work? I basically
> have
> the XML data generated dynamically from a database and then I want to
> pass it to the XSLT to process the page.
>
> Any help would greatly be appreciated.
>
>