<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Free Online Programming Tutorials - Let&#039;s Learn Web Programming!</title>
	<atom:link href="http://freeonlineprogrammingtutorials.com/feed" rel="self" type="application/rss+xml" />
	<link>http://freeonlineprogrammingtutorials.com</link>
	<description></description>
	<lastBuildDate>Wed, 30 Jun 2010 10:04:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>XML Elements vs. Attributes</title>
		<link>http://freeonlineprogrammingtutorials.com/xml-elements-vs-attributes</link>
		<comments>http://freeonlineprogrammingtutorials.com/xml-elements-vs-attributes#comments</comments>
		<pubDate>Sat, 19 Jun 2010 09:06:11 +0000</pubDate>
		<dc:creator>WebProgrammer</dc:creator>
				<category><![CDATA[XML]]></category>
		<category><![CDATA[XML Elements vs. Attributes]]></category>

		<guid isPermaLink="false">http://freeonlineprogrammingtutorials.com/?p=213</guid>
		<description><![CDATA[Elements vs. Attributes in XML







Data can be stored in child elements or in attributes.
Take a look at these examples:
< person sex="female" >
  < firstname>Anna
  < lastname>Smith
< /person >
< person >
  < sex >female< /sex >
  < firstname >Anna< /firstname >
  < lastname >Smith< /lastname >
< /person >
•	In the first example [...]]]></description>
			<content:encoded><![CDATA[<p>Elements vs. Attributes in <a href="http://freeonlineprogrammingtutorials.com">XML</a><br />
<br />
<span id="more-213"></span></p>
<div style="display:block;float:right;padding:5px;">
<script type="text/javascript"><!--
google_ad_client = "pub-9680100702980837";
/* big_sq_red */
google_ad_slot = "4937024846";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>Data can be stored in child elements or in attributes.<br />
Take a look at these examples:<br />
< person sex="female" ><br />
  < firstname>Anna</firstname ><br />
  < lastname>Smith</lastname ><br />
< /person ><br />
< person ><br />
  < sex >female< /sex ><br />
  < firstname >Anna< /firstname ><br />
  < lastname >Smith< /lastname ><br />
< /person ><br />
•	In the first example sex is an attribute. In the last, sex is a child element. Both examples provide the same information.<br />
•	There are no rules about when to use attributes, and when to use child elements.. Use child elements if the information feels like data.<br />
<br />
<strong>XML Attributes</strong><br />
<br />
XML elements can have attributes.<br />
•	From HTML you will remember this: <IMG SRC="computer.gif">. The SRC attribute provides additional information about the IMG element.<br />
•	In HTML (and in XML) attributes provide additional information about elements:<br />
	<img src="computer.gif"><br />
	<a href="demo.asp"></p>
]]></content:encoded>
			<wfw:commentRss>http://freeonlineprogrammingtutorials.com/xml-elements-vs-attributes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML Element Naming</title>
		<link>http://freeonlineprogrammingtutorials.com/xml-element-naming</link>
		<comments>http://freeonlineprogrammingtutorials.com/xml-element-naming#comments</comments>
		<pubDate>Sat, 19 Jun 2010 08:25:47 +0000</pubDate>
		<dc:creator>WebProgrammer</dc:creator>
				<category><![CDATA[XML]]></category>
		<category><![CDATA[XML Element Naming]]></category>

		<guid isPermaLink="false">http://freeonlineprogrammingtutorials.com/?p=210</guid>
		<description><![CDATA[Here&#8217;s the brief desription about the Element Naming.







•	XML elements must follow these naming rules: 
•	Names can contain letters, numbers, and other characters 
•	Names must not start with a number or punctuation character 
•	Names must not start with the letters xml (or XML or Xml ..) 
•	Names cannot contain spaces
XML Elements are Extensible
XML documents can be [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the brief desription about the <a href="http://freeonlineprogrammingtutorials.com">Element Naming</a>.<br />
<br />
<span id="more-210"></span></p>
<div style="display:block;float:right;padding:5px;">
<script type="text/javascript"><!--
google_ad_client = "pub-9680100702980837";
/* big_sq_red */
google_ad_slot = "4937024846";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>•	XML elements must follow these naming rules: </p>
<p>•	Names can contain letters, numbers, and other characters </p>
<p>•	Names must not start with a number or punctuation character </p>
<p>•	Names must not start with the letters xml (or XML or Xml ..) </p>
<p>•	Names cannot contain spaces<br />
XML Elements are Extensible</p>
<p>XML documents can be extended to carry more information.<br />
Look at the following XML NOTE example: </p>
<p><note> </p>
<p>	<to>Tove</to> </p>
<p>	<from>Jani</from> </p>
<p>	<body>Don&#8217;t forget me this weekend! </body> </p>
<p></note>	 </p>
<p>XML Elements have Relationships </p>
<p>Elements are related as parents and children.<br />
<br />
<strong>Example </strong><br />
<br />
<book> </p>
<prod id="33-657" media="paper"></prod>
<p>	<chapter>Introduction to XML </p>
<para>What is HTML</para>
<para>What is XML</para>
<p>	</chapter> </p>
<p>	<chapter>XML Syntax </p>
<para>Closing tag</para>
<para>properly nested</para>
<p>	</chapter> </p>
<p></book><br />
<br />
<strong>XML Elements </strong><br />
<br />
•	XML Elements are extensible and they have relationships. </p>
<p>•	XML Elements have simple naming rules.<br />
Comments in XML</p>
<p>•	The syntax for writing comments in XML is similar to that of HTML.<br />
<! -- This is a comment --> </p>
]]></content:encoded>
			<wfw:commentRss>http://freeonlineprogrammingtutorials.com/xml-element-naming/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML Attributes</title>
		<link>http://freeonlineprogrammingtutorials.com/xml-attributes</link>
		<comments>http://freeonlineprogrammingtutorials.com/xml-attributes#comments</comments>
		<pubDate>Thu, 17 Jun 2010 13:33:04 +0000</pubDate>
		<dc:creator>WebProgrammer</dc:creator>
				<category><![CDATA[XML]]></category>
		<category><![CDATA[XML Attributes]]></category>

		<guid isPermaLink="false">http://freeonlineprogrammingtutorials.com/?p=207</guid>
		<description><![CDATA[XML Attribute values must always be quoted







•	With XML, it is illegal to omit quotation marks around attribute values.
•	XML elements can have attributes in name/value pairs just like in HTML. In XML the attribute value must always be quoted.

	
	Tove
	Jani


With XML, white space is preserved

•	With XML, the white space in your document is not truncated.
This is unlike [...]]]></description>
			<content:encoded><![CDATA[<p>XML Attribute values must always be<a href="http://freeonlineprogrammingtutorials.com"> quoted</a><br />
<br />
<span id="more-207"></span></p>
<div style="display:block;float:right;padding:5px;">
<script type="text/javascript"><!--
google_ad_client = "pub-9680100702980837";
/* big_sq_red */
google_ad_slot = "4937024846";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>•	With XML, it is illegal to omit quotation marks around attribute values.<br />
•	XML elements can have attributes in name/value pairs just like in HTML. In XML the attribute value must always be quoted.<br />
<?xml version="1.0" encoding="ISO-8859-1"?><br />
	<note date=12/11/2002><br />
	<to>Tove</to><br />
	<from>Jani</from><br />
</note><br />
</p>
<h2>With XML, white space is preserved</h2>
<p>
•	With XML, the white space in your document is not truncated.<br />
This is unlike HTML. With HTML, a sentence like this:<br />
Hello my name is                         Tove,<br />
will be displayed like this:<br />
Hello my name is Tove,<br />
•	HTML reduces multiple, consecutive white space characters to a single white space. </p>
]]></content:encoded>
			<wfw:commentRss>http://freeonlineprogrammingtutorials.com/xml-attributes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XML tags</title>
		<link>http://freeonlineprogrammingtutorials.com/xml-tags</link>
		<comments>http://freeonlineprogrammingtutorials.com/xml-tags#comments</comments>
		<pubDate>Wed, 16 Jun 2010 13:40:53 +0000</pubDate>
		<dc:creator>WebProgrammer</dc:creator>
				<category><![CDATA[XML]]></category>
		<category><![CDATA[XML tags]]></category>

		<guid isPermaLink="false">http://freeonlineprogrammingtutorials.com/?p=204</guid>
		<description><![CDATA[Let us take look of how XML tags are case sensitive.







•	Unlike HTML, XML tags are case sensitive. 
•	With XML, the tag  is different from the tag . 
•	Opening and closing tags must therefore be written with the same case: 
•	This is incorrect 
•	This is correct
 
All XML elements must be properly nested

Improper nesting of [...]]]></description>
			<content:encoded><![CDATA[<p>Let us take look of how <a href="http://freeonlineprogrammingtutorials.com">XML tags</a> are case sensitive.<br />
<br />
<span id="more-204"></span></p>
<div style="display:block;float:right;padding:5px;">
<script type="text/javascript"><!--
google_ad_client = "pub-9680100702980837";
/* big_sq_red */
google_ad_slot = "4937024846";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>•	Unlike HTML, XML tags are case sensitive. </p>
<p>•	With XML, the tag <Letter> is different from the tag <letter>. </p>
<p>•	Opening and closing tags must therefore be written with the same case: </p>
<p>•	<Message>This is incorrect</message> </p>
<p>•	<message>This is correct</message><br />
 </p>
<h2>All XML elements must be properly nested</h2>
<p>
Improper nesting of tags makes no sense to XML.<br />
In HTML some elements can be improperly nested within each other like this:<br />
<b><i>This text is bold and italic</b></i><br />
In XML all elements must be properly nested within each other like this:<br />
<b><i>This text is bold and italic</i></b><br />
 </p>
<h2>All XML documents must have a root element</h2>
<p>
•	All XML documents must contain a single tag pair to define a root element. </p>
<p>•	All other elements must be within this root element. </p>
<p>•	All elements can have sub elements (child elements). Sub elements must be correctly nested within their parent element:<br />
<root><br />
  <child><br />
    <subchild>&#8230;..</subchild><br />
  </child><br />
</root>  </p>
]]></content:encoded>
			<wfw:commentRss>http://freeonlineprogrammingtutorials.com/xml-tags/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
