TI294
Information technology

XML, Modeling

Design, validate, and structure XML documents using standard modeling approaches

This course enables participants to acquire the skills needed to master the syntax of the XML language, the W3C standard, and the associated modeling rules. Exercises and case studies will guide the learning of creating and structuring XML documents, as well as related concepts such as XSL schemas and namespaces.

Is it for you ?

Developers and programmers, Data architects, Systems analysts, IT project managers, Computer science students

Prerequisites

Basic knowledge of XML technologies and data modeling

What You'll Walk Away With

  • Understand XML document structure, well-formedness, and validation rules
  • Design XML data models using DTD, XML Schema, and related schema languages
  • Manage namespaces to combine and organize multiple XML vocabularies
  • Define simple and complex types, constraints, and uniqueness rules in XML Schema
  • Apply modeling best practices to create extensible and reusable schemas

Training content

1 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.

2 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.

3 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.

4 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.

5 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.

6 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.

7 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
See more

📌 Practical information

Our training sessions are offered in Montreal or Quebec City, in person or in a virtual classroom. Dates and locations are specified when you select your session below. If you have any questions, check out our FAQ.

Duration
3 days
Schedule
See training dates for details
Regular fee
$1,485
Preferential fee A preferential rate is offered to public institutions, to members of certain professional organizations as well as to companies that do a certain amount of business with Technologia. To know more, please read the "Registration and rates" section on our FAQ page. Please note that preferential rates are not available for online training courses. Discounts cannot be combined with other offers.
$1,335
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 quote

Request in-company 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.

Tell us more
Added to cart View my cart