Contents
- 1 About XML Training
- 2 XML Training Course Content
- 2.1 What is XML?
- 2.2 XML Syntax
- 2.3 What is a well-formed XML document
- 2.4 What is an XML Element
- 2.5 What are the XML Naming Rules
- 2.6 What are the Best Naming Practices
- 2.7 XML Attributes
- 2.8 How to view XML files
- 2.9 How to develop an XML document
- 2.10 How to check the well-formedness of XML document
- 2.11 How to validate XML document
- 2.12 What is an XML parser? What are its functions
- 2.13 What is DTD
- 2.14 What are the constituents of DTD file? (Contains)
- 2.15 DTD – Elements
- 2.16 What is cardinality operator in DTD
- 2.17 DTD – Attributes
- 2.18 DTD – Entities
- 2.19 How to associate a DTD with XML
- 2.20 Data Types
- 2.21 XSD Restrictions/Facets
- 2.22 Nonatomic Types
- 2.23 Complex Types
- 2.24 Empty Elements
- 2.25 Indicators
- 2.26 Order Indicators
- 2.27 Occurrence Indicators
- 2.28 Group Indicators
- 2.29 Annotating XML Schemas
- 2.30 XML Namespaces
- 2.31 Refer a Schema in an XML Document
- 2.32 Import/Include Schemas
About XML Training
XML abbreviation is Extensible Mark up Language. It is the interchange between the applications and organizations.Here we can learn about the Xml and related technologies Xpath and Xquery and DOM.
Objectives of the Course
- Learn about xml documents Using DOM and Xquery
- XML and related Technologies
- Master the core syntax of XML, DTD, and XML Schema
Pre Requisites of the Course
B.E/B.tech, M.E/M.tech learn this course
XML Training Course Content
What is XML?
- What is markup? (Markup = Tagging)
- What are the similarities between HTML and XML
- Is XML is Replacement for HTML
- What are the differences between HTML and XML
- What is the purpose of XML
- What XML Does
- Who invented XML tags
- What is an XML document?
- What is XML application?
XML Syntax
- An example XML document:
- All XML elements must have a closing tag
- XML tags are case sensitive
- All XML elements must be properly nested
- All XML documents must have a root tag
- Attribute values must always be quoted
- Entity References
- Comments in XML
- White-space is Preserved in XML
What is a well-formed XML document
What is an XML Element
What are the XML Naming Rules
What are the Best Naming Practices
XML Attributes
- XML Attributes Must be Quoted
- Use of Elements vs. Attributes
- Avoid using attributes? (I say yes!)
- XML Attributes for Metadata
- XML Documents Form a Tree Structure
How to view XML files
How to develop an XML document
How to check the well-formedness of XML document
How to validate XML document
What is an XML parser? What are its functions
What is DTD
What are the constituents of DTD file? (Contains)
- Elements
- Attributes
- Entities
- PCDATA – Parsed Character Data
- CDATA – (Unparsed) Character Data
DTD – Elements
- Declaring an Element
- Empty elements
- Elements with data
- Elements with children (sequences)
What is cardinality operator in DTD
- Declaring only one occurrence of the same element
- Declaring minimum one occurrence of the same element
- Declaring zero or more occurrences of the same element
- Declaring zero or one occurrences of the same element
- Declaring mixed content
DTD – Attributes
- Declaring Attributes
- Attribute declaration example
- Default attribute value
- Implied attribute
- Required attribute
- Fixed attribute value
- Enumerated attribute values
DTD – Entities
- Entities as variables used to define shortcuts to common text.
- Entity references are references to entities.
- Entities can be declared internal.
- Entities can be declared external
How to associate a DTD with XML
- Inside an XML document
- External reference.
What do you know about SYSTEM keyword in DOCTYPE declaration
What are the limitations of DTD
What is an XSD
What XSD defines
Compare and contrast DTDs and XSDs
Data Types
- Simple Types
- Complex Types
How to give Default and Fixed Values to Simple Elements ?
How to Define an Attribute?
How to define fixed and default values to attributes?
How to specify an attribute as optional/ required?
XSD Restrictions/Facets
- Restrictions on Values
- Restrictions on a Set of Values
- Restrictions on a Series of Values
- Number of Digits
- Restrictions on Whitespace Characters
- Restrictions on Length
- Restrictions for Datatypes
Nonatomic Types
- Lists
- Unions
Complex Types
- Elements with attributes
- Elements with sub elements
- Elements with attributes and text
- Elements with sub elements and text
Empty Elements
Indicators
Order Indicators
- All
- Choice
- Sequence
Occurrence Indicators
- maxOccurs
- minOccurs
Group Indicators
- Group name
- AttributeGroup name
Annotating XML Schemas
XML Namespaces
Refer a Schema in an XML Document
Import/Include Schemas