[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|