xsl-list
[Top] [All Lists]

Re: [xsl] Sibling recursion?

2022-03-03 10:54:57


On 3 Mar 2022, at 16:31, David Carlisle 
d(_dot_)p(_dot_)carlisle(_at_)gmail(_dot_)com 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--


<Prev in Thread] Current Thread [Next in Thread>