View Single Post
  #6 (permalink)  
Old 18-Aug-2007, 19:23
ken_yap
Guest
 
Posts: n/a
Default

You could feed the xml throuh tidy first which will reformat the XML:

tidy -q -xml < $i | grep "$search"