W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > September 2007

label-elements proposal

From: Alex Milowski <alex@milowski.org>
Date: Thu, 6 Sep 2007 10:05:48 -0700
Message-ID: <28d56ece0709061005l5c4422dai19176c2884f8749f@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

Based on what I've heard so far, here is the most inclusive proposal:

 * We add an option called "scheme" that defaults to "integer".  All other
   values are implementation defined.  A minimally conforming implementation
   must support "integer".

   If someone wants a hexi-decimal number, then can:
      * implement a scheme called "hexi-decimal"
      * use XSLT to transform the decimal integer to hexi-decimal.

* For the "integer" scheme, numbering starts at 1 and increases by one
   every element regardless of whether the attribute is set on the element.

* There is no uniqueness constraint.

* We add an option called "replace" that takes a boolean value.  A true
   value means the attribute value is replaced if the attribute already
   exists on the element.  The default value is "false".

I actually really like Murray's suggestion of the "scheme" option because that
lets me add a "UUID" scheme and generate unique labels across documents.  I'd
be quite happy if we added a "UUID" scheme as an optional scheme in our
specification.


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
Received on Thursday, 6 September 2007 17:05:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT