Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - >Thread Next - RE: [xml-dev] can attribute in XML schema hold value and unit can attribute in XML schema hold value and unitTo: <xml-dev@-----.---.---> Date: 3/3/2006 8:06:00 PM <span style='font-size:10.0pt; font-family:Arial'>Hi All,<o:p></o:p> <span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p> <span style='font-size:10.0pt; font-family:Arial'>I am creating a xml schema where I have to making a ‘attribute’ but can a attribute hold a value and unit.<o:p></o:p> <span style='font-size:10.0pt; font-family:Arial'>My example is FlowRate, let’s the value and unit could be 100 GPM.<o:p></o:p> <span style='font-size:10.0pt; font-family:Arial'>Can I have just one attribute for 100 and GPM both. Some times it might be 80 cFPS.<o:p></o:p> <span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p> <span style='font-size:10.0pt; font-family:Arial'>So can a attribute hold both or do I need element here.<o:p></o:p> <span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p> <span style='font-size:10.0pt; font-family:Arial'>Thanks,<o:p></o:p> <span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p> <span style='font-size:10.0pt; font-family:Arial'>Mangesh<o:p></o:p> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
