Here, at "section nodes," I expect an output of 1, because there is one node in the xml that starts with "article." Instead, I have been getting 0. So I downloaded the file and tweaked around a little, and found that when I get rid of the xmlns=".." declaration in tags "OAI-PMH" and "article," the parser runs fine.
Is there any way of turning off the namespace awareness? Or is there any way the code can be modified to fix the problem? Thanks a lot for any help.
Joined: May 20, 2004
Hey guys, found a fix! Inserted this line after line 04.