in reply to Re: Scrubbing XML
in thread Scrubbing XML
/me nods...
Does the XML file format even care, at all, about newlines? My vague recollection is that it does not. Why can’t you just read the file, use an s///g... regex to stomp them all out, and process the resulting string? (For most computers these days, processing several megabytes “as a string” is no big deal anymore.)
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Scrubbing XML
by ikegami (Patriarch) on Apr 18, 2011 at 19:17 UTC | |
by Your Mother (Archbishop) on Jun 02, 2011 at 13:15 UTC | |
by ikegami (Patriarch) on Jun 02, 2011 at 15:59 UTC | |
by Your Mother (Archbishop) on Jun 02, 2011 at 16:12 UTC | |
by ikegami (Patriarch) on Jun 02, 2011 at 17:00 UTC | |
| |
|
Re^3: Scrubbing XML
by the.duck (Novice) on Apr 18, 2011 at 19:48 UTC | |
by ikegami (Patriarch) on Apr 18, 2011 at 19:58 UTC |