RE: [xsl] PHP included as a PI?

Subject: RE: [xsl] PHP included as a PI?
From: "Dion Houston" <dionh@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Feb 2003 12:39:37 -0800
Hey Devon:

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.

What kind of files do you want to generate?


-----Original Message-----
From: Devon Y. [mailto:vehementpetal@xxxxxxxxxxx] 
Sent: Thursday, February 06, 2003 12:11 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] PHP included as a PI?


I've been on this list a while and reading a lot, but haven't said
yet. So, hello, I'm Devon. Anyway, on to my question...

I have some old PHP files which are perfect XML, and would like to
files from them without putting them on a server.

So I'm wondering if there's any XSLT processors/engines that will treat
PHP code in the XML file as a PI, and use PHP to execute it. I'm
that since PHP can be included in a file just like any PI  "<?php foo();

?>", and PHP can be executed on the command line, it should be possible
do this. I don't thinking piping would work for this, would it (I'm
Windows)? Even if it did, I'd like to do the transforming & php
execution in 
a more simplified way.


The new MSN 8: smart spam protection and 2 months FREE*

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread