|
<!-- Copyright (C) 2005-Keyvan Nayyeri (www.nayyeri.net)
P.O Box: 16765-3965 (Keyvan Nayyeri), Tehran, Iran-->
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Url-XML.aspx.vb" Inherits="Url_XML" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>URL-XML</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:XmlDataSource ID="XmlDataSource" DataFile="http://nayyeri.net/rss.aspx" XPath="rss/channel/item" runat="server"></asp:XmlDataSource>
<asp:DataList ID="DataList" runat="server" DataSourceID="XmlDataSource">
<ItemTemplate>
<font face="tahoma" size="6"><Strong><I><%#XPath("title")%></I><br /></Strong></font>
<%#XPath("description")%><br />
<font color="navy"><i><%#XPath("pubDate")%><br /></i></font>
</ItemTemplate>
</asp:DataList></div>
</form>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.