Re: datetime variation

Dave Pawson <[email protected]>
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
At 14:03 17/01/2004, Dave Pawson wrote:
>At 13:44 17/01/2004, David Tolpin wrote:

<snip/>

>>here curly brackets are omitted around last two 2's, but what you actually
>>want is <param name="pattern">.*Z</param>. It is already a date, so the
>>only thing you need to say is that it ends with Z.
David gave me

<!-- 2001-10-26T21:32:52Z -->
<element name="modified">
   <data type="dateTime">
           <param name="minInclusive">2000-01-01T00:00:00</param>
           <param name="maxInclusive">2099-12-31T23:59:59</param>
           <param
  name="pattern">.*T[^+\-]*</param>
   </data>
  </element>

which blocks the offset option as needed, and allows
an optional Z which is just what I needed :-)


Many thanks David.

regards DaveP
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.