RE: Stupid Question (was RE: XML doesn't deserve its
> -----Original Message----- > From: Mike Champion [mailto:mc@x...] > Sent: Tuesday, March 05, 2002 10:26 AM > To: xml-dev@l... > Subject: Stupid Question (was RE: XML > doesn't deserve its "X".) > > > Why not just put the type information inline and > make XML more "self-describing" (please don't > shoot me ...) > <myData> > <foo my:type="Int">0xffffffff</foo> > <bar my:type="String">Someday/bar> > <baz my:type="Date">20371031</baz> > </myData> > > By the way you can do this in XML, it's called xsi:type but you still need a schema to obtain the actual declarations/definitions of the types in question.  http://www.w3.org/TR/xmlschema-1/#xsi_type -- THINGS TO DO IF I BECOME AN EVIL OVERLORD #51 If one of my dungeon guards begins expressing concern over the conditions in the beautiful princess' cell, I will immediately transfer him to a less people-oriented position.
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