I'm not sure I understand your problem. You want to use an external exe to *read* the XML then load into PHP to print it out ? When you say print do you mean literally print, on paper, or print as in display ?

Why not parse the file within PHP using either Expat parser and XSL, or use XPath DOM functions to walk the tree and format it that way. It would be more appropriate imho. You can always load the transformed XML into a browser and print / style it using CSS.

Cheers,
Neil Smith.

At 12:10 15/02/2003 +0000, you wrote:
----------------------------------------------------------------------
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Reply-To: "Håkan" <[EMAIL PROTECTED]>
From: "Håkan" <[EMAIL PROTECTED]>
Date: Sat, 15 Feb 2003 06:14:28 +0100
Subject: execute before fopen?

Ok, I came up with a small problem, I have a function that opens and reads
information from xml files, and I have a php file that uses a
system(file.exe -xml) to print the xml code, is there any way to make the
php file execute it and then read the information somehow? I'm kind of
dumbstruck at the moment :)

Håkan

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to