Skip to Content
Schematron
book

Schematron

by Eric van der Vlist
March 2007
Intermediate to advanced
51 pages
1h 19m
English
O'Reilly Media, Inc.
Content preview from Schematron

A Short History of XSLT, XPath, and Friends

Schematron relies on query languages to express its rules, so before we start discussing it, its versions, and its history, you have to understand some of the history of XSLT, XPath, and related. If you already know everything about these technologies, feel free to skip this section.

XSLT 1.0 and XPath 1.0 were developed by the W3C XSL Working Group to be, together with XSL-FO, a more powerful alternative to CSS stylesheets for formatting XML documents.

The definitions of these three recommendations is as follows:

XSL-FO (FO stands for Formatting Objects)

A presentation format usually generated by XSLT transformations.

XSLT

A general-purpose XML transformation language that operates on XML sources. It can be used to produce not only XSL-FO but any other XML format—even text or HTML.

XPath

A query language used by XSLT to access the different information items that compose XML documents. XPath was separated from the XSLT recommendation with the expectation that it would be useful—and used—by other specifications. So, XPath 1.0 is used in XPointer, W3C XML Schema, and of course, Schematron.

Warning

As you can imagine, XPath plays a very important role in Schematron schemas. This short cut does not include an introduction to XPath, and if you don't know it, you should learn its basics (you'll find a number of good tutorials and excellent books on the subject) before you can fully understand this article.

Because of the split between XSLT and XPath, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

XSL-FO

XSL-FO

Dave Pawson
RELAX NG

RELAX NG

Eric van der Vlist
Exploring GPT-3

Exploring GPT-3

Steve Tingiris

Publisher Resources

ISBN: 9780596527716Errata