[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Sibling recursion?
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Mar 2022 16:54:52 -0000
> On 3 Mar 2022, at 16:31, David Carlisle d.p.carlisle@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> would I be thrown off xsl-list for suggesting sed?
>
> $ sed -e 's@</q>\(\s*\)<q>@ @g' q.xml

Fine for a one-off ad-hoc task, but please not in a production workflow that
someone is going to have to debug in three years' time when the input data
starts to arrive with sections commented out.

Michael Kay
Saxonica

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member