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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -