Techbubbles

Posts Tagged ‘XML’

Documenting C# code with XML Comments

This article explains an easy and effective way of documenting your C# code. XML comments are the solution for generating a clean documentation for your code. Visual Studio environment allows you to generate a documentation file for your project. It helps your teammates and other people who using your code.
This post will explain how to […]

JSON vs XML

Introduction
This post explains the JSON Advantages over XML. JSON is more compact. Consider the following XML data

Related Posts:Documenting C# code with XML CommentsJSON FundamentalsValidating XML Document Using XSD in C#.NETXML Schema Basics(XSD)

Validating XML Document Using XSD in C#.NET

Introduction
This post explains how to apply  XML Schema Definition Language(XSD) to Extensible Markup Language (XML) document. Basics of XSD.
Create an XML Document

Start Visual Studio .NET
Create a new XML File.
Add the following data to the XML Document

<Employee EmployeeID="123">
<EmployeeName>James Bond</EmployeeName>
</Employee>

  4.  Save the file as Employee.xml file 
Create the XSD Schema, and Link to […]

XML Schema Basics(XSD)

Introduction
This post gives a basic overview of XML Schema and how to use in development. XML schema describes what XML document contains and content of the XML document what fields and sub elements it can contain.
Standards for Describing XML Document

DTD : was the First formulized standard.
XDR: Much comprehensive standard than DTD.
XSD: Currently de facto standard […]