#!/usr/bin/perl use strict; use warnings; use XML::XSLT qw( ); use Object::Destroyer qw( ); my $xslt = Object::Destroyer->new( XML::XSLT->new('foo.xslt', warnings => 1), 'dispose', ); $xslt->transform('foo.xml'); print $xslt->toString; ####
##
## #### Works: "/PLMXML/Form[@id='id24']/UserData/UserValue[@title='cage_code']/@value" Doesn't work: "/PLMXML/Form[@subType='Part Revision Master']" Doesn't work: "/PLMXML/Form[@subType="Part Revision Master"]/UserData/UserValue[@title='cage_code']/@value"