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

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>
xml:lang vs xs:language

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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
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-2007 All Rights Reserved.