XSLT for compound documents tutorial

The educational technology and digital learning wiki
Revision as of 19:33, 22 April 2013 by Daniel K. Schneider (talk | contribs) (Created page with "{{stub}} {{web technology tutorial|Intermediate}} == Introduction == <div class="tut_goals"> ; Learning goals * Learn how to create XSLT that can handle XML documents that c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Draft

Introduction

Learning goals
  • Learn how to create XSLT that can handle XML documents that combine several vocabulariescombined XHTML/SVG/MathML/etc documents
Prerequisites
Level and target population
  • Intermediate XML/XSLT users
Remarks
  • This tutorial provides a short overview about XSLT dealing with several XML namespaces. It includes minimal knowledge needed for an XML class. Most parts also can be used in introductory web technologies class.

Introduction

XSLT can handle XML documents that include more than one namespace.

Principles:

  • Declare the same namespaces on top of the XSLT stylesheet
  • Declare even the default namespace (e.g. XHTML)
  • Each XPath expression must use a prefix !
  • Strip the output from prefixes if you produce XHTML

An example

(soon)

Links