Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

parsing rdf or rss files

0 views
Skip to first unread message

Doug

unread,
Dec 12, 2002, 1:00:25 AM12/12/02
to
I searched the newsgroup and the docs a bit and found
nothing, so I'm trying here. I'd like to read in xml from
an *.rdf file or an *.rss file in .net but it errors out
(*.xml files work fine). Has anyone tried or know how to
read and parse these files???

Thanks in advance

Doug

Bjoern Hoehrmann

unread,
Dec 12, 2002, 1:53:46 AM12/12/02
to
* Doug wrote in microsoft.public.dotnet.xml:

>I searched the newsgroup and the docs a bit and found
>nothing, so I'm trying here. I'd like to read in xml from
>an *.rdf file or an *.rss file in .net but it errors out
>(*.xml files work fine).

What error message do you get?

Doug

unread,
Dec 12, 2002, 9:03:45 AM12/12/02
to
The error I receive is this:

The expected DTD markup was not found. Line 1, position 3.

Line one of the document is this:

<?xml version="1.0" encoding="utf-8" standalone="no"/>

But I'm thinking it might really be the 2nd line of the
document which is this:

<!DOCTYPE rss PUBLIC "-//Netscape Communications/DTD RSS
0.91//EN" "http://my.netscape.com/publish/formats/rss-
0.91.dtd">

>.
>

0 new messages