Basics! Q1: What is Xml ? Data wrapped in tags. Q2: How is it different from HTML ? XML and HTML were designed with different goals: XML was designed to carry data - with focus on what data is HTML was designed to display data - with focus on how data looks XML tags are not predefined like HTML tags are Q3: Why do we need them ? Data sharing Data transport Cross platform data exchange and interaction Q4: What is prolog ? A prolog defines the XML version and the character encoding: < ?xml version ="1.0" encoding ="UTF-8 " ? > Q5: Why are the 7 rules of well-formed XML document ? Every starting and end tag Attributes values should be in quotes Entity References : Greater ,lesser etc signs must be specified in '<' this way ,parser won't understand them < message > salary < 1000 < /message > Proper nesting of el...
Personnel Reference Blog