OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   can attribute in XML schema hold value and unit

[ Lists Home | Date Index | Thread Index ]
  • To: <xml-dev@lists.xml.org>
  • Subject: can attribute in XML schema hold value and unit
  • From: "Mangesh Kalbhor" <Mangesh.Kalbhor@autodesk.com>
  • Date: Fri, 3 Mar 2006 12:07:49 -0800
  • Thread-index: AcY+/iUy37EN2qkESKundHM31UedGA==
  • Thread-topic: can attribute in XML schema hold value and unit

Hi All,

 

I am creating a xml schema where I have to making a ‘attribute’ but can a attribute hold a value and unit.

My example is FlowRate, let’s the value and unit could be 100 GPM.

Can I have just one attribute for 100 and GPM both. Some times it might be 80 cFPS.

 

So can a attribute hold both or do I need element here.

 

Thanks,

 

Mangesh





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS