http://www.perlmonks.org?node_id=994685


in reply to XML Parser question

How can i retrieve author or description or replycount fields from the XML document given below.

Strip the bogus namepsace identifier jf. Where did you get that from? certainly not from forums.com.

$xml =~ s/jf://g;

Add the attributes you want according to the docs:

XML::RAI::Item->add_mapping($_,$_) for qw(modificationDate author replyCount);

There might be a way to register xmlns:jf within the XML modules suite you are using. Reading the docs might help...