You could try and use Scott Klement's XML parser discussion from his website.
Doug Belcher | IT Applications Specialist | White-Rodgers
Emerson Commercial & Residential Solutions | 8100 West Florissant Avenue | St. Louis, Mo | 63136 | USA
T 314 553 5872 | M 314 776 4461
Doug.Belcher@xxxxxxxxxxx
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Justin Taylor
Sent: Thursday, September 6, 2018 12:40 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
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.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.