[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 14:37:32 -0800
pi studios houston
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)

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.