Sunday, November 5, 2017

xml Syntax

XML Syntax


Let us discuss xml syntax. First think syntax mean rules. Xml is ah markup language. Markup mean Xml tag was contain Text or some character. 

XML Syntax:


  1. Xml Declaration 
  2. References
  3. Syntax Rules
  4. Tag and elements 
  5. Attributes
  6. Text

XML declaration :


Before writhing xml program we want to declare that document type. xml declaration is following by 

<?xml version = "1.0"  encoding = "UTF-8">

xml Element 


xml has some structure , and ists defined by Xml elements. Its also called XML - nodes or XML tags. Elements are mentioned by brackets. < >

Syntax Rules: 


syntax rules is nothing when it open xml edlement then must be closed that element close elements is showing like </>

example

<elements> ----------------------------------------</elements>

No comments:

Post a Comment

ads

Auto Insurance quotes

Auto Insurance quotes Today we can see accident on every place, so better we get some insurance for vehicles and life insurance. Now we g...