XML, XML Schema And Using XML Effectively Training

Extensible Markup Language or XML for short is used in software systems to organize and represent information. Applications of XML are diverse but include maintaining software system configurations, maintaining information in a structured manner (e.g. web pages) and using as a format to exchange information between systems (e.g Web Services).

This training on XML focuses on making software developers, system integration professionals and those who work on standardization of information representation to use XML effectively in their work.

Beyond the standards, the training well focuses on the best practices. For example, poorly structured information within XML documents triggers significant negative repercussions when such structures are to be processed, interpreted and extended in future. The training guides the participants to avoid such issues.

This training program is not specifically for Java developers even though the final section illustrations of using XML parsing, object models and binding frameworks are done using JAXB and related tools that are Java specific. But what we discuss even in the final section applies and is relevant to everyone.

Training objectives

At the end of the training, participants will be able to

  1. Better organize information in XML documents
  2. Use advanced features of XML
  3. Write XML Schema files
  4. Validate XML documents against their schemas
  5. Compare and contrast different types of XML parsing mechanisms, object models and binding frameworks
  6. Better identify the best XML parsing tool, object model library and binding framework suitable for a given purpose
  7. Use JAXB in their Java applications (common usage of JAXB is looked at but not advanced features of JAXB).
Target groups
  1. Java or Non-Java software developers
  2. Web page authors
  3. Those who use Web services and related technologies (SOAP, WSDL, REST, WADL)
  4. System integrators
  5. Those who work on standardization of information representation
Prerequisites
  1. General computer literacy
  2. Participants need NOT necessarily be familiar with Java.
Communication language
English or Sinhala
Duration

3 Hours

Training fee

Rs. 3000/= (LKR) per participant when the training is publicly scheduled by us.

Visit this page for the fee if this training is scheduled on special request.

Facilitator(s)

Kamal Wickramanayake (Profile)

Training content
  1. XML
    • Purpose of XML
    • Anatomy of an XML file
    • Validity and well formedness
    • What is an XML document? Is it the same as an XML file?
    • XML information set and different representation mechanisms
    • XML vocabularies and terms, the need for mixing vocabularies
    • Namespaces, element and attribute qualification
    • Terms defined within the XML standard
    • Examples of better and poor organized XML documents (best practices in organizing information within XML documents)
  2. XML Schema
    • What is a schema definition language and why XML Schema?
    • What is a schema document and an instance document?
    • Validating an XML document against schema
    • Complex types and simple types
    • Anonymous type definition
    • Global, local declarations
    • Namespaces, element and attribute qualification
    • Occurrence constraints
    • Restriction facets
  3. XML Parsing, Object Models And Binding Frameworks
    • What is involved in XML processing applications (The role of XML parsing tools, object model and binding frameworks)?
    • Types of parsers (push parsers, pull parsers, streaming parsers)
    • Knowing the unique characteristics of different XML parsing libraries, object model libraries and different binding frameworks
    • Basics of using JAXB as an xml binding framework (JAXB is Java specific)
    • Compiling schema files into binding classes
    • Marshal XML documents from objects, and unmarshal XML documents into objects
    • Using object model classes and binding framework classes simultaneously to manipulate XML documents (You have to do this in rare cases).