in reply to Fetch particular xml message from log

Using XML::XSH2, a wrapper around XML::LibXML:
open data.xml ; ls //test[book = " abc "] ;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Fetch particular xml message from log
by bimleshsharma (Beadle) on Sep 12, 2013 at 17:29 UTC

    Actually my question was different. Like i have a log file and having lot of blaw blaw lines as well as those xml messages. So i wanted to filter only xml messages and that script what i posted is doing but i wanted to implement some criteria to get precise xml messages from log directly. Parsing method i know but messages count is too much that is why wanted to reduce xml message crowd by implementing some condition. I hope i am clear now?