Training

 

 

Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley
Columbia

locations map

Calgary

550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2

Toronto

821A Bloor Street West
Toronto, ON
M6G 1M1

Vancouver

409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA
19046

Other Locations

Dallas, TX
Miami, FL

Home > Training > XML, XSLT, XPATH, and etc > Comprehensive XML Training

Comprehensive XML Training

Quick Enroll

Course#: WA1323
Courseware: Available for sale

In this course you will learn the fundamentals necessary to use XML on the Web or in data processing applications. Through lecture and hands-on lab exercises, you will learn the essentials of data interoperability using XML, write well-formed XML documents, enforce document validity and use XSLT and stylesheets to transform XML documents. You will use Java to implement XML web applications, as well as learn how to use XML to pass data between distributed Java applications. Emphasis is placed on writing well-formed and valid XML, parsing techniques and converting Legacy data with XML.

Topics
 
  • Getting Started with XML
  • XML Overview
  • XML Syntax
  • Writing DTDs
  • Basic XML Schemas
  • Transforming XML Using XSLT
  • Presenting XML for the Web - CSS
  • XML in Applications
  • Parsing XML with SAX
  • Parsing XML with DOM
  • Accessing and Generating XML Documents with DOM
  • Validating XML with DTDs and Schema programmatically
  • Distributed Applications with XML
  • XSL Transformation using Java
  • Web Services Introduction
  • SOAP
Audience
  Anyone who needs an introduction to XML and use XML in conjunction with Java, including application developers, Web developers, XML document authors, and webmasters.
Prerequisites
  Familiarity with Web and data processing concepts. Java programming experience is required.
Duration
  Five days.

Outline of WA1323 Comprehensive XML Training

1. Getting Started with XML

 

  • Objectives
  • Unstructured Text Document
  • An Employee Document
  • What is XML ?
  • Why Study XML?
  • Data and Document Structure
  • Elements
  • First XML
  • Another Example of XML
  • Well-formed vs. Valid XML Document
  • Presentation Style
  • Goals of XML 1/3
  • Goals of XML 2/3
  • Goals of XML 3/3
  • Usage of XML
  • Summary

 

2. XML Syntax

 

  • Objectives
  • XML Elements
  • Empty and Non-Empty Elements
  • XML Naming Rules
  • Rules for XML Tags
  • Nesting and Hierarchy of XML Elements
  • Simple XML
  • Sections of an XML Document
  • XML Constructs
  • XML Declaration
  • Processing Instructions
  • Is the XML Declaration a Processing Instruction ?
  • XML Elements
  • Tag Attributes
  • Comment Tags
  • CDATA Tags
  • Entity References
  • Character References
  • Namespaces
  • Namespace URLS
  • Namespaces
  • Using XML Namespaces
  • Binary Data In XML
  • Encoding Binary Data
  • Specifying Content Type of Binary Data
  • Summary

 

3. Basic XML Schemas

 

  • What is XML Schema ?
  • Goals of Schema
  • Converting DTDs to Schema
  • Recall: Namespaces
  • The equivalent schema
  • Sample instance document
  • Documents Needed
  • XML Schema Namespaces
  • Link Documents to Schemas
  • Inline element declarations
  • XSchema Data Types
  • XSchema Type Definitions
  • XSchema Simple Data Types
  • Primitive Data Types
  • Simple Types
  • Facet Restrictions on Element Content
  • Using the Facet
  • More Samples
  • Define Simple Element Type
  • Element Declaration
  • Element Occurrence Indicators
  • Complex Type
  • Attribute Declaration
  • Attribute Declarations
  • Occurrence of Attributes
  • Value Constraints on Attributes
  • Sequence Element
  • Element Choices
  • Express any order
  • Annotations

 

4. XPath Fundamentals

 

  • XPath
  • Tree Structure
  • Example
  • XPath Examples
  • XPath Core Definitions
  • Wildcards and Multiple Matches
  • Other Node Operators
  • Path Operators
  • Predicates
  • Predicate Relationships and Attributes
  • More Predicate Examples
  • Predicates Chaining and Indexing
  • XPath Expressions
  • XPath Numbers
  • XPath Strings
  • XPath Booleans
  • XPath Functions
  • String Functions
  • Boolean Functions
  • Number Functions
  • XSLT and XPath
  • XPath and Content Based Routing
  • Summary

 

5. Introduction to XQuery

 

  • What Is XQuery?
  • XQuery Uses
  • XQuery Properties
  • XPath and XSLT
  • XQuery Flow
  • XQuery Participants
  • Sample XQuery Source
  • Simple Example Queries
  • FLWOR Queries
  • F-WOR Explained
  • L Explained
  • Wrapping Output
  • Converting Output
  • Inline Output
  • Data Rendering
  • Functions
  • Joins
  • Join Example
  • Summary

 

6. Introduction to XSL

 

  • Topics
  • Formatting XML Documents
  • XSL
  • Three Parts of XSL
  • XSLT XSL Transformation
  • <xsl:stylesheet>
  • <?xml-stylesheet>
  • <xsl:template>
  • <xsl:value-of>
  • Navigating with XPath
  • Navigating With XPath
  • <xsl:for-each>
  • <xsl:if>
  • XPath Boolean expressions
  • XPath Boolean Expressions
  • <xsl:choose>
  • <xsl:apply-templates>
  • <xsl:sort>
  • The Music Collection Example Introduction
  • The Music Collection Example Sample XML file
  • The Music Collection Example Retrieving owner details
  • The Music Collection Example Retrieving the core data
  • The Music Collection Example Current Output
  • The Music Collection Example Retrieving canadianContent data
  • The Music Collection Example Current Output
  • The Music Collection Example Retrieving media data
  • The Music Collection Example Final Output
  • Formatting XML Documents

 

7. XML in Applications

 

  • Topics
  • Needs for Using XML in Applications
  • Basic Functionalities Required for XML Applications
  • XML Parser
  • Obtaining a Parser
  • SAX
  • How it Works
  • DOM
  • DOM Parsing
  • Applying XML Across System Boundaries
  • Using XML on the Client Side
  • Using XML on the Server Side
  • Using XML in Non-Networked Systems
  • Using XML in RDBMS
  • The J2EE Blueprint
  • A Typical Architecture Using XML in J2EE Applications
  • Using XML in Applets
  • Using XML Parser in Applets
  • Using XML in Servlets
  • Creating XML Middleware for Accessing Databases
  • Transforming RDBMS Data to XML Data
  • Transforming XML Data to RDBMS Data
  • Storing XML Data in DB2

 

8. Schema Configuration Management

 

  • Objectives
  • Evolving Schema
  • Managing XML Schema
  • Management Techniques
  • Internal Techniques
  • Schema Version Attribute
  • Adding An Attribute
  • Namespace Change
  • File-Based Mechanisms
  • External
  • Which To Use?
  • Summary

 

9. Introduction to Web Services

 

  • Objectives
  • A Conceptual Look at Services
  • Defining Services
  • Service Communication Analogy
  • Three Key Service Questions
  • Connecting the Dots
  • SOA: Runtime Implementation
  • What Is a Web Service?
  • Enterprise Assets as Services
  • Typical Development Workflow
  • Advantages of Web Services
  • Web Service Business Models
  • Example: Internal System Integration
  • Example: Business Process Externalization
  • Binding via SOAP
  • SOAP in Protocol Stack
  • SOAP Structure
  • SOAP Message Architecture
  • Applying SOAP
  • Interface via WSDL
  • WSDL Structure
  • Applying WSDL
  • Locating a Service
  • UDDI Overview
  • UDDI Terminology
  • UDDI Structure
  • Applying UDDI
  • WS-I Overview
  • WS-I Deliverables
  • Summary

 

10. Cascading Style Sheets

 

  • Cascading Style Sheets
  • The xml-stylesheet processing instruction
  • CSS details
  • An example
  • Common CSS tags display
  • Common CSS tags Colors and Backgrounds
  • Common CSS tags Fonts

 

11. Parsing XML with SAX

 

  • Obtaining a Parser
  • SAX
  • How it Works
  • Core SAX2 Handler Classes
  • SAX2 DefaultHandler
  • SAX Events
  • Ignorable Whitespace
  • XML Reader Interface
  • XMLReader Features
  • XMLReader Factory
  • Prepare SAX Parser Object
  • Parse XML with SAX Steps
  • Define an Event Handler
  • Prepare SAX Parser Object
  • Define an Event Handler startElement()
  • Define an Event Handler Element Attributes
  • Define an Event Handler Get Number of Attributes
  • Define an Event Handler Get Name of Attributes
  • Define an Event Handler Get Attribute Values
  • Define an Event Handler Get Attribute Types
  • Define an Event Handler An Example
  • Define an Event Handler characters()
  • Using characters()
  • Define an Event Handler Error Handling
  • Define an Event Handler ErrorHandler interface
  • Parse XML Document
  • Simple SAX Parser
  • Run the SAX Application
  • EntityResolver
  • Locator
  • Document Locator

 

12. Parsing XML with DOM

 

  • Topics
  • DOM
  • Limitations of SAX
  • XML as an Object Model
  • Nodes
  • The Basic Node Types
  • Less Common Node Types
  • Node Interface
  • Node Interface
  • Document Interface
  • NodeList Interface
  • Element Interface
  • Attr Interface
  • Text Interface
  • DOM Parsing
  • Parse XML with DOM Steps
  • Prepare DOM Parser Object
  • Parse XML Document
  • Parse Exceptions
  • Example SimpleDOMParser

 

13. Accessing and Generating XML Documents with DOM

 

  • Topics
  • Hierarchy of Major DOM Objects
  • Use DOM API to Access DOM Objects
  • Collection of Nodes NodeList and NamedNodeMap
  • Example 1 Traverse and Manipulate DOM Object
  • Example 2 Extract DOM Data
  • Build a DOM Tree
  • Create an Empty Document Object
  • Creating New Node Objects
  • Build a DOM Tree
  • Example 3 Build a DOM Tree
  • Import DOM Nodes
  • Example 4 Combine Two DOM Trees
  • Using DocumentFragment
  • Output DOM to XML
  • Example 5 Print a DOM Tree
  • XML Generation with DOM
  • Modify XML Input File
  • Modify XML Output File
  • Modify XML Code
  • Things to Remember
  • Sorting nodes in a DOM Tree
  • SAX vs. DOM

 

14. Validating XML with Schema

 

  • Topics
  • What is XML Schema ?
  • Goals of Schema
  • Minimal Schema
  • Structure of XML Schema Document
  • Element Declarations
  • Common XML Schema Data Types
  • Element Declaration
  • Schema Data Types
  • Simple Types
  • Restrictions in the Elements
  • Using the Facet
  • Attribute Declarations
  • More Samples
  • Complex Type
  • Sequence Element
  • Element Choices
  • Express any order
  • Validating XML with Schema
  • Annotations
  • Naming Conflicts
  • XML Validation with Schema
  • Linking Documents to Schema

 

15. Distributed Applications with XML

 

  • Topics
  • Needs for Using XML in Distributed Applications
  • Basic Functionalities Required for XML Applications
  • Applying XML Across System Boundaries
  • Using XML in Client Side
  • Using XML in Server Side
  • Passing XML Data over TCP/IP
  • Using XML in Non Networked Systems
  • Using XML in RDBMS
  • The J2EE Blueprint
  • A Typical Architecture of using XML in J2EE Applications
  • Using XML in Applets
  • Using XML Parsers in Applets
  • An Example of using a SAX Parser in Applets
  • Using XML in Servlets
  • An Example of using a DOM Parser in a DB Query Servlet
  • Creating XML Middleware for Accessing Databases
  • Transforming RDBMS data to XML data
  • Transforming XML data to RDBMS data
  • An Example of Using SAX for Loading XML Data to Database

 

16. Introduction to XSL

 

  • Topics
  • Formatting XML Documents
  • XSL
  • Three Parts of XSL
  • XSLT XSL Transformation
  • <xsl:stylesheet>
  • <xsl:template>
  • <xsl:value-of>
  • <xsl:for-each>
  • <xsl:if>
  • <xsl:choose>
  • <xsl:sort>
  • The Music Collection Example Introduction
  • The Music Collection Example Sample XML file
  • The Music Collection Example Retrieving Media Data
  • The Music Collection Example Final Output
  • Formatting XML Documents
  • Transformation with Java
  • Reading an XML
  • Transforming to HTML
  • Transforming to System.out

 

17. JAXB

 

  • Overview of JAXB
  • Advantages of JAXB
  • XML Parsing APIs
  • Validation using Schemas
  • Java Binding
  • Using JAXB
  • Binding compiler
  • Interfaces and Classes
  • Implementing Classes
  • Compiling
  • Unmarshal
  • To Unmarshal
  • Retrieving data
  • Validation
  • Unmarshalling Other Sources
  • ObjectFactory
  • Generating XML from JAXB
  • Bind the schema
  • Create the content tree from ObjectFactory
  • Marshall the content tree
  • Validation
  • Marshalling to other sources
  • Updating an XML
  • Customizing your application
  • Advantages

 

18. SOAP

 

  • Why SOAP ?
  • SOAP
  • Waves of the Internet
  • Motivations
  • Need
  • SOAP 1.1 Overview
  • SOAP XML Namespaces
  • SOAP Message
  • SOAP Envelope
  • SOAP Header
  • SOAP Body
  • SOAP Application
  • SOAP Over HTTP
  • SOAP HTTP Request and Response
  • SOAP HTTP Request
  • SOAP HTTP Request Example
  • SOAP HTTP Response
  • SOAP HTTP Response Example
  • SOAP Faults
  • SOAP Fault
  • Fault Example
  • What Does SOAP Define?
  • Scope
  • SOAP-related specs:
  • SOAP Encoding
  • SOAP Types and Structures
  • Values and References
  • Arrays
  • SOAP Encoding Rules
  • SOAP with Attachment
  • Constructing a SOAP Message Package
  • RPC Remote Procedure Call Overview
  • RPC Architecture
  • RPC Programs and Procedures
  • SOAP-based RPC
  • RPC Method Calls and Responses
  • Sun s Java API for RPC and Messaging-based Web Services

 

Appendix-A. Writing DTDs

 

  • DTD
  • DOCTYPE Declaration
  • Types of DTDs
  • DOCTYPE
  • Internal DTDs
  • External DTDs
  • Basic DTD Markup
  • Element Type Declaration
  • Elements Declarations
  • Declaring Children
  • Declaring Multiple Children
  • Declaring Optional Children
  • Declaring Zero or More Children
  • Declaring One or More Children
  • Combination of Children
  • Putting It All Together DTD
  • Putting It All Together XML
  • Mixed Content
  • Mixed Content An Example
  • Attributes Declaration
  • Attribute Default Values
  • Attribute Types
  • String Attribute Type
  • Tokenized Attribute Type
  • Enumerated Attribute Type
  • ENTITY Declaration
  • Parsed General Entities
  • Parsed Parameter Entities
Address Start Date End Date
Instructor Led Virtual 07/10/2017 07/14/2017
Instructor Led Virtual 08/21/2017 08/25/2017
Instructor Led Virtual 11/20/2017 11/24/2017
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.

more details
buy this course

07/10/2017 - Online Virtual
$2,495.00
Enroll

08/21/2017 - Online Virtual
$2,495.00
Enroll

11/20/2017 - Online Virtual
$2,495.00
Enroll

Other Details

Register for a courseware sample

It's simple, and free.

 

Thank You!

You will receive an email shortly containing a link to download the requested sample of the labs for this course.