← Prev in month ← Prev in thread
Next in thread → Next in month →

RE: [xml-dev] RE : [xml-dev] Re: RE : [xml-dev] Text or tags choi ce with XSD

From
Klotz, Leigh <>
To
'GARNIER Pierre' <>
Date
2003-09-09T16:39:05Z
ID
<>
Thread
RE: [xml-dev] RE : [xml-dev] Re: RE : [xml-dev] Text or tags choi ce with XSD
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:] 
Sent: Tuesday, September 09, 2003 9:19 AM
To: 'Dare Obasanjo'
Cc: 
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.
← Prev in month ← Prev in thread
Next in thread → Next in month →