in reply to XML::LibXML::Reader and XPATH
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::LibXML::Reader and XPATH and default namespace
by mat21 (Beadle) on Feb 20, 2009 at 15:12 UTC | |
by dHarry (Abbot) on Feb 20, 2009 at 16:12 UTC |