I'm trying to build an RSS reader in VB.net.
I have created a class for RssItems, such as the following,
PUBLIC CLASS RssItem
Public Author as String
Public PubDate as Date
Public Description as Description
Public GUID as String
Public IsPermaLink as Boolean
END CLASS
The above is purely abstract.
I need to be able to serialize the above object as follows,
<RssItem>
<Author>....</Author>
<PubDate>....</PubDate>
<Description>....</Description>
<GUID IsPermaLink="false">....</GUID>
</RssItem>
I'm able to serialize the object into an xml string similar to the above,
but without the IsPermalink as an attribute of GUID.
Basically i need to be able to configure the IsPermaLink to be an attribute
of the GUID element.
Hi,
Check out these videos
http://download.microsoft.com/download/6/2/4/6247616D-A0C7-4552-B622-3F0450DE246
2/13VB.wmv
http://download.microsoft.com/download/6/2/4/6247616D-A0C7-4552-B622-3F0450DE246
2/14VB.wmv
Ken
----------------------------
> I'm trying to build an RSS reader in VB.net.
> I have created a class for RssItems, such as the following,
[quoted text clipped - 20 lines]
> Basically i need to be able to configure the IsPermaLink to be an
> attribute of the GUID element.
Ken Tucker [MVP] - 13 Dec 2005 23:22 GMT
Hi,
Sorry forgot the last 2.
http://download.microsoft.com/download/6/2/4/6247616D-A0C7-4552-B622-3F0450DE246
2/15VB.wmv
http://download.microsoft.com/download/6/2/4/6247616d-a0c7-4552-b622-3f0450de246
2/16VB.wmv
Ken
----------------------
> Hi,
>
[quoted text clipped - 30 lines]
>> Basically i need to be able to configure the IsPermaLink to be an
>> attribute of the GUID element.