XML Developer

$2,000.00


  • Virtual Classroom

  • Onsite
Duration: 5 Days

This intensive, hands-on course concentrates on the eXtensible Markup Language (XML) and building XML applications. In this 5-day course, you'll learn by doing, focusing on the XML components of an application and how to best use these components. Investigate database integration as well as manipulation with both the Document Object Model (DOM) and the eXtensible Stylesheet Language (XSL). In addition, you will complete an extensive, real-world case study for immediate feedback and assistance.

XML is fueling the hottest web technologies in the industry right now. Maximize the usability of your web site while maintaining the structure necessary to allow the site to grow. XML separates data from display so there is no end parser in mind - display the same information on a web browser or your mobile multimedia device.

 

What You Will Learn

 

  • Understand the role of XML applications
  • Create and display XML documents on a browser
  • Set standards for your XML documents: incorporate Document Type Definitions (DTDs)
  • Write XML schemas
  • Transform your data into multiple outputs with XSLT
  • Use HTML to create dynamic data-driven XML applications
  • Develop XML-ASP integration
  • Master the XML DOM

Audience

 

This course is for web development professionals who would like to learn how to program using XML.

Prerequistes

 

  • Familiarity with Cascading Style Sheets (CSS)
  • Working knowledge of JavaScript

Course Outline

 

1. Introduction to XML

  • Overview
  • The development of XML
  • Why XML?

2. XML and Browser Compatibility

  • Microsoft and XML extensions
  • Why use a browser to display XML?

3. Examining an XML Application

  • The components of an XML application
  • Completing an HTML "wrapper"

4. XML Syntax

  • XML logical structure
  • XML physical structure
  • XML logic: designing datasheets
  • Building a well-formed XML document from text data
  • XML attributes revisited
  • Why use attributes?
  • An introduction to our demo application
  • Adding attributes to your XML datasheet

5. Document Type Definitions (DTDs)

  • Example: a basic DTD
  • Validating against your DTDs
  • Adding an internal DTD to your XML datasheet
  • External DTDs
  • Public versus system DTDs
  • Creating an external DTD, and linking it to your XML datasheet

6. XML Namespaces and XML Schemas

  • Referencing an XML schema
  • The "xsi" namespace
  • An XML schema document
  • Beginning a schema document
  • Mixed content
  • Validating against a schema
  • Beginning an XML schema document
  • Declaring attributes
  • Adding attributes to your schema
  • Using references to simplify your schema
  • Restricting content with schemas
  • Specifying default values
  • Restricting the content of elements and attributes

7. Using Cascading Style Sheets (CSS) to Present XML Data

  • A brief review of CSS rules
  • Displaying XML data with a CSS style sheet

8. Extensible Style Sheet Language (XSL)

  • XSL, XSLT, and XSLFO
  • XSL basics: linking to an XSL style sheet
  • Examining an XSL style sheet
  • Beginning an XSL style sheet
  • xsl:apply-templates and iterative content
  • XPath: the XSL node matching syntax
  • Displaying iterative data with your XSL style sheet
  • Using xsl:sort to re-sort your display
  • Adding a sort order to your XSL
  • Generating hyperlinks with XSL
  • Loops with XSL
  • Adding an xsl:for-each loop to your style sheet

9. Displaying Complex Structures with XSL

  • Building an HTML table with XSL

10. Conditional Logic in XSL

  • xsl:if for conditional output
  • Multi-option branching with xsl:choose, xsl:when, and xsl:otherwise
  • Conditional operators in XSL
  • Using XSL conditionals to identify Oscar winners

11. XPath Expressions and XSL Functions

  • XPath expressions and filters
  • Using XPath filtering expressions
  • Aggregate functions
  • Adding aggregate functions to your style sheet
  • Data conversion, calculations, and variables
  • Variables in XSL and the xsl:variable tag
  • Translating meters to feet using XSL
  • Calculations and number formatting functions
  • Using XSL calculations to produce feet and inches

12. Building the HTML Front End to XML Data

  • Data islands and the HTML <XML> tag
  • Creating an HTML wrapper for your movie list application

13. Dynamic XSL Changes

  • Using XSL updating to re-sort XML data

14. Using XSL to Produce New XML

  • Producing a datasheet organized by film rather than by actor

15. Incorporating CSS with XSL; The XML DOM

  • Partial searches with JavaScript
  • Accessing the XML DOM tree with JavaScript
  • Building a tree display of your XML content

16. Introduction to XSLT

  • Where does XSLT fit in?
  • Goals of the course

17. Review: Processing an XML Datasheet with XSL

  • An analysis of the XSLT code
  • Variables in XSL and the xsl:variable tag

18. Using XSL to parse documents sequentially

  • Understanding mixed-content elements in XSL
  • Transforming an XML sonnet for display
  • Producing combination-type XSL style sheets
  • Adding a section of footnotes to your sonnet

19. Numbering with xsl:number

  • The <xsl:number> tag
  • Referencing line numbers in your sonnet
  • 20. XPath Axes and Expressions
  • Using axis expressions to specify relationships
  • Selecting and sorting parent elements by a child node

21. Functions and Calculations

  • Common XSL functions
  • Arithmetic in XSL
  • Adding functions and arithmetic to your book report
  • Number formatting
  • Adding formatting to the numbers in your book report
  • Measuring node position
  • Applying code appropriately based on node position

22. Writing Reusable Code

  • Named templates
  • Creating and referencing a named template

23. Modes: Applying Different Templates to Nodes with the Same Name

  • Beginning a table of contents
  • Generating unique identifiers for internal hyperlinks
  • Generating unique identifiers for the table of contents

24. Producing Output in Multiple Formats

  • Producing plain text with XSL
  • Using template recursion to produce content
  • Generating a sonnet in plain text
  • Producing new XML
  • Rebuilding the XML of your book list
  • Reusable conversion templates
  • Making exceptions in your template rules
  • Making your conversion code portable

25. Dynamic Modification of XSL

  • Generating data drill-downs
  • Adding a drill-down for book information
  • Displaying more information without losing your list of links
  • Creating scrollable displays
  • Allowing users to page through a display of books
  • Dynamic searching with XSL
  • Allowing users to search your list of books

26. Including External Code Libraries

  • xsl:import vs. xsl:include
  • Case-insensitive searching
  • Making a case-insensitive search that uses an external library

27. Introduction to the XML DOM

  • Partial searches with JavaScript
  • Building a tree display of your XML content

Course Labs