PPT Slide
Provided that an XML document conforms to the XML syntax rules, it is considered well-formed. Some of the most important guidelines are as follows :
- You must type the XML declaration.
- If you are embedding XML in an html document, it must go after the <HTML> and <HEAD> tags, and before any Javascript.
- You must include the version attribute (currently “1.0”), if the document is declared “stands alone”, the processing application does not need to look for a DTD to validate the XML tags, and the encoding declares how the document is encoded - the default is UTF-8.
- Eg. <?xml version=“1.0 standalone=“yes” encoding=“UTF-8”?>