[
Lists Home |
Date Index |
Thread Index
]
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@mega.com]
Sent: Tuesday, September 09, 2003 9:19 AM
To: 'Dare Obasanjo'
Cc: xml-dev@lists.xml.org
Subject: [xml-dev] RE : [xml-dev] Re: RE : [xml-dev] 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.
|