Changes

Jump to navigation Jump to search
407 bytes added ,  21:21, 27 August 2014
no edit summary
contains-token(('a', 'b c', 'd'), 'c') (: yields true :)
<xml class='one two'/>/contains-token(@class, 'one') (: yields true :)
</pre>
 
===fn:parse-ietf-date===
 
; Signature
* <code>fn:parse-ietf-date($input as xs:string?) as xs:string?</code>
 
Parses a string in the IETF format (which is widely used on the Internet) and returns a {{Code|xs:dateTime}} item:
 
<pre class="brush:xquery">
fn:parse-ietf-date('28-Feb-1984 07:07:07')" (: yields "1984-02-28T07:07:07Z" :),
fn:parse-ietf-date('Wed, 01 Jun 2001 23:45:54 +02:00')" (: yields "2001-06-01T23:45:54+02:00" :)
</pre>
* Support for JSON: <code>fn:json-doc</code>, <code>fn:parse-json</code>
* New functions: <code>fn:collation-key</code>, <code>fn:load-module</code>, <code>fn:parse-ietf-date</code>, <code>fn:transform</code>
=Changelog=
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu