Objectives of the training
At the end of the course, the participant will know how to create, structure, and properly model XML documents that comply with standards. They will also master essential concepts such as schemas, XSL, and namespaces.Targeted audience
Developers and programmers, Data architects, Systems analysts, IT project managers, Computer science studentsPrerequisite
Basic knowledge of XML technologies and data modelingTrainers
Benefits for Participants
• Understand the design of documents with XML
• Use namespaces
• Use the XML Schema language
• Use XML modeling techniques
• Use XML and object design
• Use best modeling practices
Course architecture
Review of XML and associated technologies:
• Structure of an XML document, element tree.
• Components of an XML document : declarations, processor instructions, comments, entities, elements, attributes.
• Well-formed and valid document.
• Rules for well-formed documents, logical structure of an XML document.
• Structured and semi-structured data.
• Different types of XML parsers and their roles.
• The galaxy of XML technologies.
XML and document composition:
• Objectives of structuring languages: DTD, XML Schema, Schematron, and Relax NG.
• Why a schema is necessary.
• How to use schemas.
• Main characteristics and parts of schemas.
• How schemas work.
• Different modeling languages.
• EBNF syntax for DTD (Data Type Definition).
• Document validation.
• Different types of entities and their use.
• Multiple root DTD.
• Extensibility and reuse of model components.
• Language limitations.
Namespaces:
• Description of namespaces
• Use of namespaces
• Namespaces and the combination of multiple vocabularies
• Combination of languages: XHTML, Xforms, and SVG
• Mistakes to avoid
• Study of the scope of a namespace
• Definition of a URI.
XML Schema language:
• Language syntax.
• Definition of a vocabulary (elements, attributes, etc.) and grammar.
• Document validation.
• Testing element and attribute values.
• Study of simple and complex data types.
• Base type of the language and creation of custom type.
• Extension and restriction of types.
• Organization of elements: sequence, choice, heap.
• Abstract substitution elements and groups.
• Use of keys and uniqueness rules.
• Definition of namespaces.
• Strict and permissive schemas.
XML modeling techniques:
• Design patterns.
• Unique schemas applicable to different types of documents.
• Reusable generic models (list, grid, etc.).
• Documents using multiple schemas.
• Creation of extensible schemas and control of extensibility.
XML and object design:
• Review of object-oriented concepts.
• Object concepts of the XML Schema language.
• Types, class, derivation, polymorphism.
• UML/XML representation.
• Schema inclusion.
• Schema import.
• Schema redefinition.
Best modeling practices:
• Composition and inheritance.
• Construction types: “Russian dolls”, “Salami slices”, and “Venetian blinds”.
• Adaptation schemas.
• Definition of containers and elements.
• Design pattern catalogs.
• Localization or exposure of namespaces.
• Homogeneous and heterogeneous documents.
• Global or local definition of components.
• Working with elements or types.
• Choice of default Namespace.
• Definition of containers with variable content.
• Extensible content models.
• Extending XML Schema with XSLT and Schematron.
• Relax NG alternative
Pedagogical details
Type of training
Private or personalized training
Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.
Request a quotePrivate or personalized training
Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.
Request a quote