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

=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Here=E2=80=99s_how_the_Schematron_progra

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Tue, 10 Jan 2017 14:47:21 +1100

=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Here=E2=80=99s_how_the_Schematron_progra
Just a thought on an old thread.

I think you can play a generation game with Schematron using phases.  You can validate one document with one phase until it passes, then move to the next phase.  For example, the first phase might be to validate names and addresses. The second phase might be to validate the order details. The third phase might be to validate shipping and payment details.

This seems a better ordered, more declarative, and less error-prone method than, for example, pages that rewrite themselves.

Regards
Rick

On Wed, Apr 6, 2016 at 1:43 AM, David Carlisle <d.p.carlisle@gmail.com> wrote:
Of course schematron has the disadvantage that the generated
stylesheet is just a normal stylesheet so you can only play this
generation game once.

Much more, um... useful?.., is a "quine" that reproduces itself so
that you can repeatedly generate as often as you like

http://www2.informatik.hu-berlin.de/~obecker/XSLT/#quine

David

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[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.