<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
<title>Stardeveloper.com Headlines</title>
<link>http://www.stardeveloper.com</link>
<description>Get latest articles and information about ASP, ASP.NET and JSP from Stardeveloper.com.</description>
<language>en-us</language>
<ttl>60</ttl>
<pubDate>Sun, 08 Nov 2009 23:28:52 GMT</pubDate><generator><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2008112101&page=1]]></generator><copyright>Copyright 1999 - 2009 Stardeveloper.com, All Rights Reserved.</copyright>
<lastBuildDate>Sat, 18 Jul 2009 09:00:00 GMT</lastBuildDate>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
<title>Introduction to Developing HTTP Modules in ASP.NET</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/gzdvaqfZZr4/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
In ASP.NET, an HTTP Module is a class that implements the &lt;code&gt;IHttpModule&lt;/code&gt; interface. By doing that it can listen to and handle events in the web request handling pipeline. They are the equivalent of &amp;#39;ISAPI Filters&amp;#39; in IIS and &amp;#39;Filters&amp;#39; in JSP. They are used for multiple purposes from authenticating a request to modifying the response and logging the request. In this tutorial, we will learn:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Common uses of HTTP Modules&lt;/li&gt;
&lt;li&gt;Web Request Handling Pipeline&lt;/li&gt;
&lt;li&gt;Structure of an HTTP Module&lt;/li&gt;
&lt;li&gt;Creating your first HTTP Module&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;b&gt;Common Uses of HTTP Modules&lt;/b&gt;&lt;br /&gt;
Following is a noncomprehensive list of common uses of HTTP Modules:&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/gzdvaqfZZr4" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009071801&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Sat, 18 Jul 2009 09:00:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009071801&amp;page=1</feedburner:origLink></item>
<item>
<title>Displaying Emails from Mailbox on Gmail using POP3 and ASP.NET</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/XXDt3_os0mA/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
In this tutorial, we will create the missing ASP.NET page, that was left in the previous tutorial (&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009070801&amp;page=1"&gt;Connecting to Mailbox on Gmail and Fetching List of Emails using POP3 and ASP.NET&lt;/a&gt;), that takes an individual email's sort number on the POP3 server to retrieve and display it to the user after properly decoding content-transfer-encodings like &lt;code&gt;base64&lt;/code&gt; and &lt;code&gt;quoted-printable&lt;/code&gt;. You will learn how to access individual message parts in MIME encoded emails including fetching and enlisting attachments.&lt;/p&gt;

&lt;div align="center" style="background-color: #F7F7F7;"&gt;&lt;b&gt;Note:&lt;/b&gt; It is mandatory that you read the previous tutorial (&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009070801&amp;page=1"&gt;Connecting to Mailbox on Gmail and Fetching List of Emails using POP3 and ASP.NET&lt;/a&gt;) to download and place the essential &lt;code&gt;Pop3.cs&lt;/code&gt; file in the &lt;code&gt;/App_Code&lt;/code&gt; folder of your ASP.NET web application. Without this code, you will not be able to connect and retrieve emails using POP3.&lt;/div&gt;

&lt;p&gt;In the previous tutorial, we limited ourselves to only listing the emails in our mailbox on Gmail. That in itself was quite a bit of a job since we had to develop all the baseline code that connects, sends commands, receives data, parses and instantiates objects. The classes that we created like &lt;code&gt;Pop3Client&lt;/code&gt;, &lt;code&gt;Email&lt;/code&gt;, and &lt;code&gt;MessagePart&lt;/code&gt; made the task a lot more easier for us. Only few lines of code were needed to retrieve the list of emails in the mailbox and display it on the ASP.NET page. We will build on that base in this tutorial.&lt;/p&gt;

&lt;p&gt;Following is the screen shot of the ASP.NET page that we developed in the previous tutorial:&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/XXDt3_os0mA" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009071001&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Fri, 10 Jul 2009 05:52:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009071001&amp;page=1</feedburner:origLink></item>
<item>
<title>Connecting to Mailbox on Gmail and Fetching List of Emails using POP3 and ASP.NET</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/ZHb7g3uF9Sk/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
In this tutorial, we will learn about &lt;em&gt;Post Office Protocol (POP3)&lt;/em&gt;. It is a protocol (a set of commands) used by an email client to connect to and retrieve email(s) from the mailbox on the remote server. We will develop the code that connects to the POP3 server and sends commands to retrieve the list of emails on the server, and then later, using an ASP.NET page, displays the list to the user. &lt;em&gt;To demonstrate the code, we will be connecting to Gmail's POP3 server using SSL (Secure Sockets Layer)&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;To connect to your own POP3 mail server, you can either use the secure connection (SSL) if your mail server supports it or connect in unsecure mode. The code is simple to understand and by looking at it you will learn a lot about how network programming is done in the .NET environment.&lt;/p&gt;

&lt;div align="center" style="background-color: #F7F7F7;"&gt;&lt;b&gt;Note:&lt;/b&gt; In this tutorial, we will limit ourselves to retrieving and displaying a list of emails from user's mailbox which the user can browse through using &amp;apos;Previous Page&amp;apos; and &amp;apos;Next Page&amp;apos; links. In the next tutorial (&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009071001&amp;page=1"&gt;Displaying Emails from Mailbox on Gmail using POP3 and ASP.NET&lt;/a&gt;), we will learn how to retrieve and view an individual email.&lt;/div&gt;

&lt;p&gt;Following screen shot shows an ASP.NET page listing emails in my Gmail mailbox:&lt;/p&gt;

&lt;div align="center"&gt;
&lt;img src="http://www.stardeveloper.com/images/articles/2009071001_pop3-listing-emails.gif" width="600" height="235" border="0" alt="Connecting to mailbox on Gmail using POP3 and displaying list of emails" /&gt;
&lt;/div&gt;

&lt;p&gt;&lt;b&gt;Basic POP3 Commands&lt;/b&gt;&lt;br /&gt;
Following is a list of commonly used POP3 commands:&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/ZHb7g3uF9Sk" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009070801&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Wed, 08 Jul 2009 10:13:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009070801&amp;page=1</feedburner:origLink></item>
<item>
<title>Displaying Twitter Updates in a Page by Page fashion with ASP.NET</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/WZHBIju0wR0/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
In this tutorial, we will develop a technique to retrieve and display a page full of Twitter updates to the user, giving him the ability to move to the next page. The user will be able to browse all the pages using &amp;apos;Previous Page&amp;apos; and &amp;apos;Next Page&amp;apos; links. Our technique will be highly efficient as we will be retrieving only enough number of Twitter updates from a given screen name, to display on a single page. Only when the user browses to the next page will another set of Twitter updates be retrieved. At the same time we will cache the results, page by page, giving seamless and smooth performance to the end user.&lt;/p&gt;

&lt;p&gt;The code in this tutorial makes use of the code we developed in the previous tutorial: &lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009061701&amp;page=1"&gt;Retrieving Twitter Updates with ASP.NET&lt;/a&gt;. We will only be updating &lt;code&gt;TwitterClient.cs&lt;/code&gt; a little bit to enable retrieval of Twitter updates page by page. Rest of the files will remain the same. We will develop an ASP.NET page to demonstrate the technique.&lt;/p&gt;

&lt;p&gt;I advise that you read this series of tutorials from the beginning and create/place the files as advised in the previous tutorial.&lt;/p&gt;

&lt;p&gt;This tutorial is 3rd in the series of tutorials regarding Twitter and ASP.NET:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009061401&amp;page=1"&gt;Introduction to Twitter for ASP.NET Developers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009061701&amp;page=1"&gt;Retrieving Twitter Updates with ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Displaying Twitter Updates in a Page by Page fashion with ASP.NET&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;b&gt;Demonstration of Twitter Updates being Displayed Page by Page&lt;/b&gt;&lt;br /&gt;
In this tutorial, we will develop an ASP.NET page that retrieves 5 status updates for a given screen name and displays them on a page. When 'Next Page' link is clicked, next 5 status updates are retrieved and displayed to the user.&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/WZHBIju0wR0" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009062001&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Sat, 20 Jun 2009 06:49:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009062001&amp;page=1</feedburner:origLink></item>
<item>
<title>Retrieving Twitter Updates with ASP.NET</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/HIxLqs0-2Fc/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
In this tutorial, we will learn how to retrieve &lt;a href="http://twitter.com" target="_blank" rel="nofollow"&gt;Twitter&lt;/a&gt; status updates using Twitter API and ASP.NET. We will develop code that encapsulates calls to Twitter API and provides easy to use .NET classes to retrieve Twitter status updates, programmatically. We will demonstrate the code by developing an ASP.NET control that uses these .NET classes to retrieve and display Twitter status updates on our website.&lt;/p&gt;

&lt;p&gt;This tutorial is 2nd in the series of tutorials regarding Twitter and ASP.NET:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009061401&amp;page=1"&gt;Introduction to Twitter for ASP.NET Developers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Retrieving Twitter Updates with ASP.NET&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009062001&amp;page=1"&gt;Displaying Twitter Updates in a Page by Page fashion with ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;b&gt;Things to know about Twitter API&lt;/b&gt;&lt;br /&gt;
Before getting started, it is prudent to know a few things about Twitter API.&lt;/p&gt;

&lt;p&gt;Twitter API is entirely HTTP based. This means that all you need to do to retrieve or post status updates is to make simple HTTP GET and POST calls, respectively, over the internet.&lt;/p&gt;

&lt;p&gt;Twitter API conforms to REST (Representational State Transfer) style of software architecture. You can use URL like &lt;code&gt;http://twitter.com/statuses/user_timeline.&lt;i&gt;format&lt;/i&gt;&lt;/code&gt; to retrieve status updates of a user. You can choose the desired format of the response by specifying the format in the URL. For instance, to retrieve the status updates in XML, the complete URL will be &lt;code&gt;http://twitter.com/statuses/user_timeline.xml&lt;/code&gt;. You have the option of choosing the format between XML, JSON, RSS and Atom.&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/HIxLqs0-2Fc" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009061701&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Wed, 17 Jun 2009 07:33:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009061701&amp;page=1</feedburner:origLink></item>
<item>
<title>Introduction to Twitter for ASP.NET Developers</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/dNWEEqvMyk4/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
Twitter is a free social networking service that lets its users communicate with each other through short text messages. There is a limit of 140 characters per message. Users can send messages using online website, mobile devices or by sending SMS from their cell phones. These messages, known as &amp;apos&lt;i&gt;tweets&lt;/i&gt;&amp;apos; are then delivered, by a variety of means, to the users who have subscribed to receive them; known as &amp;apos;&lt;i&gt;followers&lt;/i&gt;&amp;apos;.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Guidelines for sending Messages&lt;/b&gt;&lt;br /&gt;
In text messages, username of the person you are replying to should start with &amp;apos@&amp;apos; (at) sign e.g., @Stardeveloper. Twitter will convert these usernames in the text messages to clickable links e.g., &amp;quot;Hello &lt;a href="http://twitter.com/stardeveloper"&gt;@Stardeveloper&lt;/a&gt;!&amp;quot;.&lt;/p&gt;


&lt;p&gt;This tutorial is 1st in the series of tutorials regarding Twitter and ASP.NET:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Introduction to Twitter for ASP.NET Developers&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009061701&amp;page=1"&gt;Retrieving Twitter Updates with ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009062001&amp;page=1"&gt;Displaying Twitter Updates in a Page by Page fashion with ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;b&gt;Connecting with your Audience&lt;/b&gt;&lt;br /&gt;
Twitter provides another opportunity for ASP.NET developers to connect with their website audience. ASP.NET developers can create accounts with screen names of their websites e.g., &lt;a href="http://twitter.com/stardeveloper"&gt;Stardeveloper&lt;/a&gt; (Faisal Khan). This account can then be used as a micro-blog for the website. Not only should the status updates include important website updates, but should also focus on the interesting things you, as a developer, are working on or can benefit your audience. A link is placed on the website linking to the Twitter profile, giving users the opportunity to view the profile, and if he/she chooses so, to start following this account.&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/dNWEEqvMyk4" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009061401&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Sat, 13 Jun 2009 12:49:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009061401&amp;page=1</feedburner:origLink></item>
<item>
<title>Validating an XML Document using DTD in ASP.NET</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/AOnPbjy19qY/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
In this tutorial, we will learn how to validate an &lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030101&amp;page=1"&gt;XML&lt;/a&gt; document using &lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009052601&amp;page=1"&gt;DTD&lt;/a&gt;. We will develop an ASP.NET page to demonstrate the code. After you are finished reading this tutorial, you will be proficient in writing C# code that validates XML documents using DTD.&lt;/p&gt;

&lt;p&gt;Following topics will be covered in this tutorial:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="#xml-wellformedness-validation"&gt;Well-formedness vs Validation.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#xml-validation-dtd"&gt;Validating XML Document using DTD.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This tutorial is 6th one in the series of tutorials about XML and ASP.NET:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030101&amp;page=1"&gt;Introduction to XML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030701&amp;page=1"&gt;Reading XML Files with ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009031001&amp;page=1"&gt;Introduction to XPath for ASP.NET Developers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009031901&amp;page=1"&gt;Creating new XML Document in ASP.NET Programmatically&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009052601&amp;page=1"&gt;Introduction to DTD (Document Type Definition)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Validating an XML Document using DTD in ASP.NET&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We will first refresh ourselves with basic XML concepts of well-formedness and validation, and later develop the code to validate XML document using DTD.&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/AOnPbjy19qY" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009060501&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Fri, 05 Jun 2009 03:36:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009060501&amp;page=1</feedburner:origLink></item>
<item>
<title>Introduction to DTD (Document Type Definition)</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/ab4Ac9g0yu8/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
In this tutorial, we will learn about &amp;quot;Document Type Definition&amp;quot;. DTD is an XML schema language that is used to describe the &lt;i&gt;structure&lt;/i&gt; of an XML document. It describes what elements an XML document can contain and in which order. It further specifies how these elements are arranged within one another and what attributes these elements can contain. The description of the structure and these constraints are written in a formal syntax, some of which we will learn in this tutorial. These declarations can be placed within an XML file, or more commonly in a separate file with &amp;quot;.dtd&amp;quot; extension.&lt;/p&gt;

&lt;p&gt;Following topics will be covered in this tutorial:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="#dtd-elements"&gt;Declaring elements in DTD.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#dtd-attributes"&gt;Declaring attributes in DTD.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#dtd-association"&gt;Associating DTD with XML Documents.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This tutorial is 5th one in the series of tutorials about XML and ASP.NET:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030101&amp;page=1"&gt;Introduction to XML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030701&amp;page=1"&gt;Reading XML Files with ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009031001&amp;page=1"&gt;Introduction to XPath for ASP.NET Developers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009031901&amp;page=1"&gt;Creating new XML Document in ASP.NET Programmatically&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Introduction to DTD (Document Type Definition)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009060501&amp;page=1"&gt;Validating an XML Document using DTD in ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We will now learn how elements and attributes are declared in DTD, and how DTD declarations can be associated with XML document(s).&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/ab4Ac9g0yu8" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009052601&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Tue, 26 May 2009 05:06:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009052601&amp;page=1</feedburner:origLink></item>
<item>
<title>Creating new XML Document in ASP.NET Programmatically</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/Dw3VH6t8WEw/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
In this tutorial, we will learn how to create an XML Document programmatically. We will make use of &lt;code&gt;XmlDocument&lt;/code&gt; class from &lt;code&gt;System.Xml&lt;/code&gt; namespace. Following topics will be covered in this tutorial:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How to create XML declaration and element nodes.&lt;/li&gt;
&lt;li&gt;How to create attributes and append them to element nodes.&lt;/li&gt;
&lt;li&gt;How to create CDATA sections within element nodes.&lt;/li&gt;
&lt;li&gt;How to nest elements and attributes in one another to create a logical tree like structure.&lt;/li&gt;
&lt;li&gt;How to send the dynamically generated XML document to the client browser with proper headers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This tutorial is 4th one in the series of tutorials about XML and ASP.NET:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030101&amp;page=1"&gt;Introduction to XML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030701&amp;page=1"&gt;Reading XML Files with ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009031001&amp;page=1"&gt;Introduction to XPath for ASP.NET Developers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Creating new XML Document in ASP.NET Programmatically&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009052601&amp;page=1"&gt;Introduction to DTD (Document Type Definition)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009060501&amp;page=1"&gt;Validating an XML Document using DTD in ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;b&gt;Creating new XML Document&lt;/b&gt;&lt;br /&gt;
We will now write down the code to create new XML document.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Code for ASP.NET page&lt;/b&gt;&lt;br /&gt;
Copy and paste following code into a new text file and then save it as &amp;quot;CreateXmlDocument.aspx&amp;quot; in your ASP.NET web application:&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/Dw3VH6t8WEw" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009031901&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Thu, 19 Mar 2009 11:35:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009031901&amp;page=1</feedburner:origLink></item>
<item>
<title>Introduction to XPath for ASP.NET Developers</title>
<link>http://feedproxy.google.com/~r/StardevelopercomArticleHeadlines/~3/SlX6WqvmuS8/display.html</link>
<description>&lt;p&gt;&lt;b&gt;Introduction&lt;/b&gt;&lt;br /&gt;
XPath is a language for selecting nodes (parts or segments) within an XML document. As you are already &lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030101&amp;page=1"&gt;familiar with XML&lt;/a&gt;, XML is a markup language which uses elements and attributes to encapsulate data in a logical manner. XPath furthers builds on it and provides navigational abilities in an XML document. For example, you can use an XPath query to select one or more nodes within an XML document that match a certain criteria. That criteria can by anything from an element matching a given name to an element whose attribute matches a specific value.&lt;/p&gt;

&lt;p&gt;This tutorial is 3rd one in the series of tutorials about XML and ASP.NET:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030101&amp;page=1"&gt;Introduction to XML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009030701&amp;page=1"&gt;Reading XML Files with ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Introduction to XPath for ASP.NET Developers&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009031901&amp;page=1"&gt;Creating new XML Document in ASP.NET Programmatically&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009052601&amp;page=1"&gt;Introduction to DTD (Document Type Definition)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stardeveloper.com/articles/display.html?article=2009060501&amp;page=1"&gt;Validating an XML Document using DTD in ASP.NET&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;b&gt;Tree like representation of an XML Document&lt;/b&gt;&lt;br /&gt;
In XPath, an XML document is represented as a tree of nodes. There is a parent node with one or more child nodes. While a node in XPath can be of 7 types; for practical purposes, a node in XPath corresponds to an element or attribute within an XML document. For example, have a look at following XML document:&lt;img src="http://feeds.feedburner.com/~r/StardevelopercomArticleHeadlines/~4/SlX6WqvmuS8" height="1" width="1"/&gt;</description>
<guid isPermaLink="false"><![CDATA[http://www.stardeveloper.com/articles/display.html?article=2009031001&page=1]]></guid>
<author>Faisal Khan</author>
<pubDate>Tue, 10 Mar 2009 05:26:00 GMT</pubDate>
<atom:link href="http://feeds.feedburner.com/StardevelopercomArticleHeadlines" rel="self" type="application/rss+xml" /><feedburner:origLink>http://www.stardeveloper.com/articles/display.html?article=2009031001&amp;page=1</feedburner:origLink></item>
</channel>
</rss>
