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>

Hi,

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>

OR

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

Is there any guidance on which one to use?

Thanks.


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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:07 GMT