<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>I'm not sure if `xmllint --format` would reflow tags, or just adjust indenting.<br></div><div><br></div><div>There's also tools like prettier, which has an XML plugin:<br></div><div><br></div><div><a href="https://github.com/prettier/prettier">https://github.com/prettier/prettier</a><br></div><div><a href="https://github.com/prettier/plugin-xml">https://github.com/prettier/plugin-xml</a><br></div><div><br></div><div><div id="sig91988184"><div class="signature">-- <br></div><div class="signature"><b>Chris Irwin</b><br></div><div class="signature"><br></div><div class="signature"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">email: </span><a href="mailto:chris@chrisirwin.ca"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">chris@chrisirwin.ca</span></a><br></div><div class="signature"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;"> xmpp: </span><a href="mailto:chris@chrisirwin.ca"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">chris@chrisirwin.ca</span></a><br></div><div class="signature"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;"> web: </span><a href="https://chrisirwin.ca"><span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">https://chrisirwin.ca</span></a><br></div></div><div><br></div></div><div><br></div><div>On Wed, Dec 23, 2020, at 21:04, William Park via kwlug-disc wrote:<br></div><blockquote type="cite" id="qt" style=""><div>Hi guys,<br></div><div><br></div><div>How do you replace 2 liner<br></div><div> <node><br></div><div> </node><br></div><div>with just 1 liner<br></div><div> <node/><br></div><div>?<br></div><div><br></div><div>I have files with 2 liners and files with 1 liner. The whitespaces<br></div><div>inside "node" are meaningless and disposable. But, "diff" doesn't know<br></div><div>that.<br></div><div>-- <br></div><div>William Park <<a href="mailto:opengeometry@yahoo.ca">opengeometry@yahoo.ca</a>><br></div><div><br></div><div>_______________________________________________<br></div><div>kwlug-disc mailing list<br></div><div><a href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a><br></div><div><a href="https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org">https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br></div><div><br></div></blockquote><div><br></div></body></html>