On Mar 15, 2008, at 12:47 AM, Luke -Jr wrote: > I love Perl, but your example is one of how NOT to manage XML, > because it will > very easily break just by adding a valid newline in your input. Yup. That's why it's cheesy. But sometimes a cheesy solution in 30 seconds is "better" than an elegant solution that takes longer. It all depends on what your goals are. j