[examplotron] Re: Choice Compositor?

From: <martin.me.roberts@bt.com>
Date: Fri Jan 13 2006 - 11:25:28 UTC

  You might like to look at CAM in Oasis that takes an example and
allows you to apply rules in a similar way to Examplotron but it also
allows you the full set of functions that a schema would give as well as
cross filed validation that schema can not do.
  I suggest you go to
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cam or

I enclose an example template to show you how it might work.

Martin Roberts

-----Original Message-----
From: examplotron-bounce@xmlschemata.org
[mailto:examplotron-bounce@xmlschemata.org] On Behalf Of Renaud Waldura
Sent: 12 January 2006 19:48
To: examplotron@xmlschemata.org
Subject: [examplotron] Choice Compositor?

Dear Examplotron Users:

I work for the University of California at San Francisco. My department,
the Center for HIV Information, manages a large set of XML documents
about HIV research and prevention. Most XML documents are processed
using XSL into HTML and displayed on our Web sites. XML is also used to
store information about HIV providers and researchers. No schemas are
used anywhere, the document structure is meant to be self-documenting,
with the associated problems -- i.e. it isn't self-documenting, variants
are rarely documented, and it takes a while for new people to pick the

I'm investigating how schema validation could help us manage and
document schemas and their variants. Our staff typically does not have a
technical background, and training them on a schema language is a big
issue. (W3C Schema was immediately eliminated because of its complexity
-- frankly it scared me off.) But Examplotron, thanks to its iconic
properties, seems like a gentle way to introduce schema usage. Any

I've started using Examplotron 0.7 myself, and quickly ran into the lack
of a choice compositor. The manual says "The last Relax NG compositors
(choice) has not been implemented since it doesn't seem very useful as a
compositor for the whole content of an element."

Any ideas on how this could be done if one needed it?


-- Binary/unsupported file stripped by Ecartis --
-- Type: application/octet-stream
-- File: TestCAM.cam
-- Desc: TestCAM.cam
Received on Fri Jan 13 12:25:30 2006

This archive was generated by hypermail 2.1.8 : Wed Apr 12 2006 - 14:51:01 UTC