|
Subject: RE: [xsl] PHP included as a PI? From: "Dion Houston" <dionh@xxxxxxxxxxxxxxxxxxxxx> Date: Thu, 6 Feb 2003 14:37:32 -0800 |
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: [xsl] 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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] PHP included as a PI?, Devon Y. | Thread | RE: [xsl] PHP included as a PI?, Devon Y. |
| RE: [xsl] Problems copying elements, Passin, Tom | Date | RE: [xsl] Using Dublin Core as meta, Robert Koberg |
| Month |