W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2008

xml:lang vs xs:language

From: Kondapally Kumar <kondapally_sunil@yahoo.com>
Date: Fri, 19 Sep 2008 12:54:52 -0700 (PDT)
To: xmlschema-dev@w3.org
Message-ID: <355697.73719.qm@web57106.mail.re3.yahoo.com>


We are having a discussion on whether to use "xml:lang" as an attribute on a new element that we are defining in our xsd or whether to make a new element with type "xs:language".

For e.g (not syntactically correct but just to give you an idea)

<Newelement attribute xml:lang> </Newelement>


<Newelement > 
<have another sub element with xs:language type>

Is there any guidance on which one to use?


Received on Sunday, 21 September 2008 01:37:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:48 UTC