You can run PHP scripts without using the web.
I wrote a wrapper around this several years back.
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
------------------------------
message: 4
date: Thu, 6 Sep 2018 17:39:40 +0000
from: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
subject: RE: Replace text in XML file
1. PHP? Can you just call PHP directly? I haven't really worked with it, but I thought it was just for web serving.
2. I need to perform this operation 100-200 times a day, in a batch job.
-----Original Message-----
From: Jack Woehr [mailto:jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, September 06, 2018 11:36 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Replace text in XML file
1) PHP has a good libraries for *ML parsing and node replacement.
2) Personally, in such cases, I open the IFS file directly in jEdit on my Linux box via the jEdit SFTP plugin and do a regex search-and-replace. It's easier than writing a whole program!
On Thu, Sep 6, 2018 at 10:27 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:
I have an XML IFS file < 1 MB in size. I need to replace an empty tag.
--
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE: This communication including any and all attachments is for the intended recipient(s) only and may contain confidential and privileged information. If you are not the intended recipient of this communication, any disclosure, copying further distribution or use of this communication is prohibited. If you received this communication in error, please contact the sender and delete/destroy all copies of this communication immediately.
As an Amazon Associate we earn from qualifying purchases.