[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: PHP included as a PI?

Subject: RE: PHP included as a PI?
From: "Dion Houston" <dionh@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Feb 2003 12:39:37 -0800
xml pi php
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?

Dion

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

Hi,

I've been on this list a while and reading a lot, but haven't said
anything 
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
generate 
files from them without putting them on a server.

So I'm wondering if there's any XSLT processors/engines that will treat
any 
PHP code in the XML file as a PI, and use PHP to execute it. I'm
thinking 
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
to 
do this. I don't thinking piping would work for this, would it (I'm
using 
Windows)? Even if it did, I'd like to do the transforming & php
execution in 
a more simplified way.



Devon

_________________________________________________________________
The new MSN 8: smart spam protection and 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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.