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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attributes v Elements



> Please explain how to describe  "<Price currency="USD">10</Price>" in XML
> Schema, in such a way that the "10" can be validated as being a number.
> >>>>>>
I can't becuase you cannot do that.  This is out of scope of the original
question.

The original question also was not about the content of the element, rather
the choice of whether to use attributes or elements.

Cheers!~

Duane Nickull