Jump to content
Sign in to follow this  

_XMLDOMWrapper help

Recommended Posts


I'm trying to create a mini RSS reader, using the excellent _XMLDOMWrapper code posted here. Looking at this code:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0"><channel>
    <title>BBC News | News Front Page | UK Edition</title>
    <description>Visit BBC News for up-to-the-minute news, breaking news, video, audio and feature stories. BBC News provides trusted World and UK news as well as local and regional perspectives. Also entertainment, business, science, technology and health news.</description>
    <lastBuildDate>Mon, 16 Oct 2006 13:33:37 GMT</lastBuildDate>
    <copyright>Copyright: (C) British Broadcasting Corporation, see http://news.bbc.co.uk/1/hi/help/rss/4498287.stm for terms and conditions of reuse</copyright>

I can extract the title ('BBC News | News Front Page | UK Edition') using the function _XMLGetField ('/rss/channel/title'). However, I have problems with this code:

<?xml version="1.0" encoding="UTF-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<title>Gmail - Inbox for bjashepherd</title>
<tagline>New messages in your Gmail Inbox</tagline>
<link rel="alternate" href="http://mail.google.com/mail" type="text/html"/>

I should be able to extract the title ('Gmail - Inbox for bjashepherd') using the function _XMLGetField ('feed/title'). But it doesn't work - it throws an error ("Error Retrieving: feed/title / No matching node(s)found!"). What's the difference?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...