AH! Yes it does... in other words, you don't want to just load it up,
but actually evaluate it as well.
Well, something to try would be sticking it on your web server and using
the document() function to load it. At least with our products we use
an HTTP GET to fetch documents with URI's beginning with http: etc.
I'm thinking something like:
<xsl:apply-templates
select="document('http://myServer/mydocument.php')"/>
HTH!
Dion
-----Original Message-----
From: Devon Y. [mailto:vehementpetal@xxxxxxxxxxx]
Sent: Thursday, February 06, 2003 1:01 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: PHP included as a PI?
>I'm not clear exactly what you want to do... If your PHP documents are
>in fact well-formed XML documents, then you can transform them just
like
>any other XML document.
Exactly, but.. the transformation won't execute any of the PHP
functions,
classes, and variables....unless the XSLT processor (i use Saxon),
somehow
uses the php.exe to do it before spitting out the result tree. Does that
clear it up better?
Devon
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- PHP included as a PI?
- Devon Y. - Thu, 6 Feb 2003 15:09:38 -0500 (EST)
- <Possible follow-ups>
- Dion Houston - Thu, 6 Feb 2003 15:38:20 -0500 (EST)
- Terence - Sat, 8 Feb 2003 21:59:31 -0500 (EST)
- Devon Y. - Thu, 6 Feb 2003 16:01:38 -0500 (EST)
- Dion Houston - Thu, 6 Feb 2003 17:36:12 -0500 (EST) <=
- Devon Y. - Thu, 6 Feb 2003 17:58:52 -0500 (EST)
- Dion Houston - Thu, 6 Feb 2003 18:40:38 -0500 (EST)
- Devon Y. - Mon, 10 Feb 2003 06:51:46 -0500 (EST)
|
|