in reply to Print specific attributes "not their values" of an XML file using Perl

Using XML::XSH2, a wrapper around XML::LibXML:
for //Validation/@*[.='true'] echo name() ;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re: Print specific attributes "not their values" of an XML file using Perl
  • Download Code