in reply to Re: Print multiple value from file
in thread Print multiple value from file

Thanks a lot, it really helped me. could you help me to print also the content between <Observed>C/T</Observed> which is C/T for all of them

Replies are listed 'Best First'.
Re^3: Print multiple value from file
by Monk::Thomas (Friar) on Aug 10, 2015 at 14:18 UTC

    Sorry, but no. I won't do that. As I already wrote: This is just meant as an example to improve your understanding of Perl.

    If you want more functionality then please implement it on your own. This way you also have a better understanding what goes wrong when it goes wrong. (And since the input format is XML I'm very confident something will go wrong.) You really should not use regular expressions to parse XML - use a real parser instead.

      OK, thanks, very much