in reply to XML::XPath question

delete <!DOCTYPE stats SYSTEM "stats.dtd"> from your testing file...

Replies are listed 'Best First'.
Re^2: XML::XPath question
by anniyan (Monk) on Nov 17, 2005 at 11:30 UTC

    pajout thanks for the suggestion, now it works, but without deleting that in xml file, is there any other way to do that?

    Regards,
    Anniyan
    (CREATED in HELL by DEVIL to s|EVILS|GOODS|g in WORLD)

      Create empty file stats.dtd on the same directory as your xml file.
      I am not very familiar with XML::XPath, but this may work...