Transformation capabilities

Transformation capabilities include:
• generation of constant text • suppression of content

• moving text (e.g., exchanging the order of the first and last name)

• duplicating text (e.g., copying titles to make a table of contents)

• sorting

• more complex transformations that “compute” new information in terms of the existing information

Description of information
Description of how to present the (possibly transformed) data includes three levels of formatting information:
• Specification of the general screen or page (or even audio) layout

• Assignment of the transformed content into basic “content container types” (e.g., lists, paragraphs, inline text)

• Specification of formatting properties (spacing, margins, alignment, fonts, etc.) for each resulting “container”

XSLT can be used to transform an XML source into many different types of documents. XHTML is also XML, if it is well formed, so it could also be used as the source or the result.
However, transforming plain HTML into XML won’t work unless it is first turned into XHTML so that it conforms to the XML 1.0 recommendation. Here is a list of all the possible type-to-type transformations performed by XSLT:
Type-To-Type Transformations

 

XML

XHTML

HTML

text

XML

X X X X

XHTML

X X X
Scroll to Top