W
WBible
I'm looking for a Perl script ( or assistance on how to write one) for
performing a a pattern match in XML data files to search for the Error
message and match them w/ the actual offending data records. ie. The
error search string would be "Error system" which displays the
applicable error message immediately following. Ideally it would
redirect the errors messages to an output file w/ the data record ids
matched in a prompted XML tag.
Does anyone have something similar that I could use as a base? I
realize that grep will do some of this but it's a little more
difficult to parse given the length of the java error messages.
Thanks,
Will
performing a a pattern match in XML data files to search for the Error
message and match them w/ the actual offending data records. ie. The
error search string would be "Error system" which displays the
applicable error message immediately following. Ideally it would
redirect the errors messages to an output file w/ the data record ids
matched in a prompted XML tag.
Does anyone have something similar that I could use as a base? I
realize that grep will do some of this but it's a little more
difficult to parse given the length of the java error messages.
Thanks,
Will