Tech blog to share information.

November 30, 2011

Part 1 : Introduction to Xml Classes in C#.Net

November 30, 2011 Posted by tjcool , , 1 comment
Defination : Xml 

XML, or EXtensible Markup Language, is a platform-independent way to represent data. Simply put, XML enables you to create data that can read by any application on any platform. You can even edit and create it by hand, because it is based on the same tag-based technology that underlies HTML

An Example

XML Element 

An XML element is everything from (including) the element's start tag to (including) the element's end tag.
An element can contain:
  • other elements
  • text
  • attributes
  • or a mix of all of the above..   
XML Attributes 

In HTML, attributes provide additional information about elements.Attributes often provide information that is not a part of the data. In the example below, the file type is irrelevant to the data, but can be important to the software that wants to manipulate the element.


XPath is used to navigate through elements and attributes in an XML document.
XPath is a major element in W3C's XSLT standard - and XQuery and XPointer are both built on XPath expressions. Read More