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

Re: Notations

  • From: "W. Eliot Kimber" <eliot@d...>
  • To: xml-dev@i...
  • Date: Mon, 07 Dec 1998 09:52:16 -0600

Re: Notations
At 10:25 AM 12/7/98 -0500, Charles Reitzel wrote:

>attribute name and value as descriptive of the element.  According to Eliot
>K., some variant of SGML allows notations to be associated with attributes.

In TC2 to ISO 8879 (the Web SGML Adaptations, see
<http://www.ornl.gov/sgml/wg8/document/1955.htm>) we added a new attribute
value type, "DATA", that lets you associate a notation name with an
attribute in order to define the rules that govern the interpretation of
the attribute value. The syntax is:

<!ATTLIST foo
  OrderTime 
     DATA Iso8601_DateTime 
     #REQUIRED
>

Where "Iso8601_DateTime" is the name of a declaration notation. For element
content, using NOTATION attribute is sufficient (and part of the existing
SGML and XML specifications:

<!ATTLIST OrderTime
  notation
    NOTATION
    (Iso8601_DateTime) Iso8601_DateTime
>

However, I agree that being able to say this on the element type
declaration directly would be convenient.  We didn't consider this for the
TC because it would be too much of a change to the existing syntax.

Cheers,

E.


--
<Address HyTime=bibloc>
W. Eliot Kimber, Senior Consulting SGML Engineer
ISOGEN International Corp.
2200 N. Lamar St., Suite 230, Dallas, TX 75202.  214.953.0004
www.isogen.com
</Address>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


  • References:
    • Notations
      • From: Charles Reitzel <creitzel@m...>

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.