in reply to Re^2: XML log file to readable format conversion
in thread XML log file to readable format conversion

Your input file is not a well-formed XML. It probably contains some additional information after the closing root tag.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^3: XML log file to readable format conversion

Replies are listed 'Best First'.
Re^4: XML log file to readable format conversion
by Jenda (Abbot) on Jan 20, 2014 at 15:08 UTC

    As it is a log file, it most likely doesn't contain a single root tag (which is something the committeee decided to require). Instead of the file, you thus have to parse an XML document like this:

    <!DOCTYPE doc [<!ENTITY real_doc SYSTEM "$the_file_name">]><doc>&real_ +doc;</doc>

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.