[Home] [By Thread] [By Date] [Recent Entries]


One difference is that a simple XPath expression could refer to both kinds
of time, and an XSLT style sheet that merely copies the time could do so
without knowing about the two kinds of time.

-----Original Message-----
From: GARNIER Pierre [mailto:pgarnier@m...] 
Sent: Tuesday, September 09, 2003 9:19 AM
To: 'Dare Obasanjo'
Cc: xml-dev@l...
Subject:  RE :  Re: RE :  Text or tags choice
with XSD


Here are the two instances that you give (simplified):

<time xsi:type="complexTime"><hour>14</hour><min>59</min></time>

<time xsi:type="simpleTime">14:59</time>

I don't want to be embarrassing, but, practically, from the instances
creator point of view (the one that write an instance), is it differing so
much with the following ?

<time-complex><hour>14</hour><min>59</min></time>

<time-simple>14:59</time>

Thanks a lot everybody for your assistance.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member