| Article: |
Using Regular Expressions and XML Classes to Parse Your Log Files | |
| Subject: | XML is bloat for logfile data | |
| Date: | 2003-06-11 09:05:05 | |
| From: | anonymous2 | |
|
While XML makes data more portable, it causes increased bloating at the same time. Especially with log file data. If you have a lot of data in a perfectly readable text-based log file (which likely compresses really well with gzip or bzip), why quadruple it's size by converting it to XML? XML is more useful for non-regular data, where significat meta-data is required to interpret it. For log files, which are highly regular, a few comment lines at the top can provide all the information necessary for parsing the data. e.g. http://www.w3.org/TR/WD-logfile.html
|
||
Showing messages 1 through 2 of 2.



The article is nice in that is combines two good classes into one application and this will probably be very useful for lots of users, especially those just getting into regular expressions.
BTW, uh, what language is that?