Output full xml in Perl (XML::Xpath) -
some perl code i'm looking @ returning xml data method call. how view xml data?
code:
print "$xml"; what get:
xml::xpath=hash(0xa408dbc) what want: actual xml contents, i.e:
<sometag> <sometag2/> </sometag>
i believe want 1 of
print $xml->find('/')->string_value; print $xml->findnodes_as_string('/'); that is, find root ('/') node of xpath object, , print out string.
Comments
Post a Comment