Next in thread → Next in month →

Re: [xml-dev] Here’s how the Schematron program generates programs program generating programs

From
Rick Jelliffe <>
To
"" <>
Date
2017-01-10T03:47:21Z
ID
<CADUdYQWU7BiCq0WnZrzdHdXqdN4uKzh3Y1dj42Na=>
Thread
Re: [xml-dev] Here’s how the Schematron program generates programs program generating programs
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 <[email protected]> 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: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php

Next in thread → Next in month →