Schematron: A Language for Validating XML

$24.95

by Erik Siegel

Schematron is a validation language that checks XML documents against business rules. It extends the validation provided by languages such as Document Type Definitions (DTD), W3C XML Schema, and RELAX NG, giving you the ability to check your XML documents for compliance with rules that can be difficult, if not impossible, to check with the other validation languages.

SKU: 9781937434809 Category: Tags: , , ,

Description

Schematron is a validation language that checks XML documents against business rules. It extends the validation provided by languages such as Document Type Definitions (DTD), W3C XML Schema, and RELAX NG, giving you the ability to check your XML documents for compliance with rules that can be difficult, if not impossible, to check with the other validation languages.

Schematron: A language for validating XML is aimed at programmers and others who process XML. It explains the language in detail along with many examples. Anyone who uses Schematron or who would like to begin using it will find a wealth of information in this book.

Contents

  • Introduction: introduces Schematron and provides background.
  • Schematron in context: provides an overview of XML validation, the main languages currently used to validate XML, and introduces Schematron as an important part of the validation tool set.
  • Applying Schematron: describes how to create and validate using Schematron and introduces the most commonly used processors for Schematron.
  • Schematron basics: describes how to set up a Schematron schema, and introduces the most frequently used constructs in Schematron.
  • Advanced Schematron: covers advanced Schematron features such as localization, abstract rules, pattern reuse, and more.
  • Query language binding and using XSLT: describes how to use different query languages, as well as XSLT, as part of a Schematron schema.
  • Additional features: covers lesser used features such as message text markup, flags, properties, structured comments, and more.
  • Schematron examples and recipes: examples of how to use Schematron for common situations, such as validating schemas, checking for multiple id references, validating processing instructions and comments, and detecting incorrect nesting.
  • XPath technology primer: introduces XPath, which is used extensively in Schematron, including features such as tree navigation, special operators, expressions, and more.
  • An introduction to namespaces: describes XML namespaces and how Schematron treats namespaces.
  • Schematron references: a detailed reference to the Schematron language.
  • SVRL reference: a detailed reference to the Schematron Validation Reporting Language (SVRL), which is an XML-based schema used by Schematron processors to produce output that can be post-processed by another program.
  • Schematron QuickFix: a Schematron extension that embeds suggested fixes for errors. A QuickFix-aware IDE can use this information to offer a user the opportunity for the IDE to immediately apply a fix to the document being validated.
  • Additional resources: a bibliography of resources for further exploration.

About the Author

Erik Siegel is a content engineer and XML specialist who runs Xatapult consultancy in the Netherlands. He specializes in content design and conversions, XML Schemas and transformations, eXist and XProc applications, and XML-related training.

He is the author of XProc 3.0 Programmer’s Guide, also from XML Press.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

About the store

We offer non-DRM ebook editions for most XML Press publications as a three-format bundle:

  • ePub
  • Kindle (.mobi)
  • PDF

Once you purchase a bundle, you will receive email with a download link.

Print editions and single-format ebook editions of our books are available from most online book retailers.

Note on the .mobi format: This format is provided to make it easier to sideload to older Kindle devices. For the best reading experience with newer Kindles, we recommend that you use the email to Kindle feature and send the epub version to your Kindle.