[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Epischema Article on XML.com

  • From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@le-tex.de>
  • To: xml-dev@lists.xml.org
  • Date: Mon, 1 May 2017 09:29:53 +0200

Epischema Article on XML.com
Adding a second Relax NG schema in the way you'd add a Schematron schema is an (in my view) nice approach to constraining a base schema.
It is orthogonal like Schematron: You don't need to know or modify the building blocks that the base schema provides.
Unlike Schematron rules, the additional Relax NG schema may be used by XML editors for content completion.
Those of you who listened to this year's XML Prague presentation [1,2] about adding a Docbook-like grammar to TEI divs already know the concept. In a recent article on XML.com [3], I've applied this approach to HTML, using the HTML-first publishing workflow that Dave Cramer described [4] as an example.
I've called this approach, that to my surprise (and admittedly modest knowledge) was hitherto unheard of, "epischema" (epi = on top of).
Please note that I'm not advocating against the use of Schematron; on the contrary. It's just that there's an alternative way to express a certain class of constraints (grammatical ones), and this alternative provides specific, context-dependent content completion suggestions as a side effect.
Looking forward to receiving your comments.

-Gerrit

[1] http://archive.xmlprague.cz/2017/files/presentations/epischema/index.html
[2] https://youtu.be/BOHtdnQEokQ?list=PLQpqh98e9RgUcEmbXmI6RolisQaIRw9dm
[3] https://www.xml.com/articles/2017/04/29/epischemas/
[4] https://www.xml.com/articles/2017/02/20/beyond-xml-making-books-html/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.