On Sun, Nov 6, 2016 at 5:35 PM, Tong Sun wrote:
>
> On Saturday, November 5, 2016 at 3:51:55 PM UTC-4, Tong Sun wrote:
>>
>>
>> On Saturday, November 5, 2016 at 3:42:27 PM UTC-4, Tong Sun wrote:
>>>
>>>
>>> On Sat, Nov 5, 2016 at 12:26 PM, Sam Whited wrote:
>>>
On Fri, Nov 4, 2016 at 4:32 PM
* Tong Sun:
> The dark voodoo regexp as described here works for many cases.
> http://www.perlmonks.org/?node_id=261292
In general, whitespace is significant in XML, so you need a DTD or
schema to make sure that you can make such edits without changing the
meaning of the document.
--
You receiv
On Sun, Nov 6, 2016 at 5:08 AM, Simon Ritchie wrote:
I have a much simpler approach which works for me. Open the document with
> a web browser and it displays it nicely formatted.
Yeah, I believe it is doable. If Chrome and/or Firefox can do
it, beautifying XML without rewrite the document, the
I have a much simpler approach which works for me. Open the document with a
web browser and it displays it nicely formatted. If you want to put the result
back into the document, open it with a text editor and cut and paste.
I found that Chrome is much faster than Firefox for some large XML fi
On Sat, Nov 5, 2016 at 2:51 PM, Tong Sun wrote:
> The dark voodoo regexp as described here works for many cases.
> http://www.perlmonks.org/?node_id=261292
>
> But I did found its own limits when trying more samples...
Regular expression are, well, regular. This means that they can parse
regular