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:
- Xml Declaration
- References
- Syntax Rules
- Tag and elements
- Attributes
- 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