XML Flashcards
Features of XML
Generalized markup language - defines its own tags
Contains rules and self-describing
What is XML?
Extensible Markup Language
Store & transport data
To structure and describe data that can be understood by other applications
Separate user interface from data
Logical structure of XML
Declaration
Elements
Comments
Well Formed XML
XML document must have a root element ( only one)
XML elements must have a closing tag
XML tags are CASE SENSITIVE (except declaration)
XML elements must be properly nested
XML attribute values must be quoted
Comments <!--This is a comment--> Entity references (No < and &)
XML Declaration
//
Identifies the version to which XML conforms
No closing tag
If other attributes are declared, this is the order
Must be in lower case (except die the encoding declarations)