W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2012

Re: Attribute with fixed value in derived types

From: Florent Georges <lists@fgeorges.org>
Date: Wed, 27 Jun 2012 15:31:02 +0100 (BST)
Message-ID: <1340807462.1971.YahooMailNeo@web29013.mail.ird.yahoo.com>
To: Michael Kay <mike@saxonica.com>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Michael Kay wrote:

> Something like this:

  Thank you!  I've been able to adapt it.  So if I am right, the key
point here is to define an intermediary, global restricted complex
type to set the fixed value, then use it as the base for the concrete
element (instead of the original base type).

  Thanks for the solution.

  Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
Received on Wednesday, 27 June 2012 14:31:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:20 UTC