XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
=?UTF-8?Q?Re=3A_=5Bxml=2Ddev=5D_Here=E2=80=99s_how_the_Schematron_program_ge?==?UTF-8?Q?nerates_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 <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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS