This has nothing to do with Perl and/or libxml, instead it is about XML.
but the tags do not have any prefix like examples in the documentation
Well you can add the prefixes, i.e. qualify the tags with the namespace. But the uniprot element declaration looks suspicious to me.
You might want to spend some time on choosing the right strategy for determining what the default/target namespace should be, see DefaultNamespace.pdf for a discussion. This gives a few examples on how to do it.
HTH
In reply to Re: XML::LibXML::Reader and XPATH
by dHarry
in thread XML::LibXML::Reader and XPATH
by mat21
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |