Complete Syllabus
UNIT I: Introduction to XML
XML Overview & Markup Languages
Why XML exists, Markup languages, XML vs HTML, Real-world use cases, XML family (DTD/XSD/XPath/XSLT)
CLO01CO01XML Syntax, Namespaces, and Well-Formedness
XML prolog, Elements vs attributes, Entities and escaping, Namespaces and prefixes, Parser error patterns
CLO01CO01
UNIT II: Document Type Definition (DTD)
DTD Fundamentals: Elements, Attributes, and Validation
Role of DTD, ELEMENT declarations, ATTLIST declarations, Internal vs external DTD, Validity vs well-formedness
CLO02CO02Advanced DTD: Entities, Mixed Content, and Limitations
General and parameter entities, Mixed content models, ID/IDREF relationships, Why XSD replaces many DTD roles
CLO02CO02
UNIT III: XML Schema (XSD)
XSD Fundamentals: Namespaces, Types, and Structure
Schema document shape, targetNamespace and qualification, Simple vs complex types, sequence/choice/all, minOccurs/maxOccurs
CLO02CO03Advanced XSD: Restrictions, Extensions, and Identity Constraints
XSD Restrictions (Facets), Enumerations & Patterns, XSD Extensions (Type Inheritance), Identity Constraints (key/unique/keyref), Database Constraint Comparison, Common Validation Errors
CLO02CLO05CO03Web Services & XML: The Restaurant Analogy
What is a Web Service, WSDL – the service menu, Client and Server roles, SOAP Request & Response, Role of XML in Web Services
CLO02CLO05CO03CO05Web Services Implementation: SOAP, REST, Security & Integration
Why Web Services exist, SOA, WSDL, UDDI architecture, SOAP messages and WSDL structure, Building SOAP services with Python (spyne), REST principles and Flask APIs, SOAP vs REST comparison, API security: HTTPS, API Keys, OAuth, JWT, WS-Security, Service-to-service integration (Mini Project)
CLO02CLO05CO03CO05
UNIT IV: XSLT (Transformations)
XSLT Basics: Templates, Match/Select, and HTML Output
Templates, match/select, apply-templates, for-each, HTML output
CLO04CO04Advanced XSLT: Conditions, Sorting, and Modular Design
xsl:if, xsl:choose, xsl:sort, variables, modularity
CLO04CLO05CO04CO05
UNIT V: XPath + Mini Project
XPath: Node Selection, Axes, Predicates, and Functions
Absolute vs relative paths, Predicates, Axes, Functions, Attributes
CLO03CO04Mini Project: XML + XSD + XPath + XSLT Pipeline
Dataset modeling, XML instances, XSD validation, XPath queries, XSLT report
CLO05CO05