in reply to How to get xml page source if url is given

The page at http://www.perlmonks.org/ is not XML (it's HTML).

Pages can be fetched using LWP::UserAgent

  • Comment on Re: How to get xml page source if url is given

Replies are listed 'Best First'.
Re^2: How to get xml page source if url is given
by holli (Abbot) on May 29, 2009 at 09:34 UTC
    The OP probably meant the xml-representation of perlmonks nodes. In that case he should add displaytype=xml to the URI he fetches.


    holli

    When you're up to your ass in alligators, it's difficult to remember that your original purpose was to drain the swamp.