Changes

Jump to navigation Jump to search
579 bytes added ,  23:58, 12 June 2016
no edit summary
==fetch:text==
 
{{Mark|Updated with Version 8.5}}: <code>$fallback</code> argument added.
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|fetch:text|$uri as xs:string|xs:string}}<br/>{{Func|fetch:text|$uri as xs:string, $encoding as xs:string|xs:string}}<br/>{{Func|fetch:text|$uri as xs:string, $encoding as xs:string, $fallback as xs:boolean|xs:string}}<br/>
|-
| '''Summary'''
|Fetches the resource referred to by the given URI {{Code|$uri}} and returns it as [[Streaming Module|streamable]] {{Code|xs:string}}:* The UTF-8 default encoding can be overwritten with the optional {{Code|$encoding}} argument.* By default, invalid characters will be rejected. If {{Code|$fallback}} is set to true, these characters will be replaced with the Unicode replacement character <code>FFFD</code> (&#xFFFD;).
|-
| '''Errors'''
=Changelog=
 
;Version 8.5
 
* Updated: <code>[[#fetch:doc|fetch:doc]]</code>: <code>$fallback</code> argument added.
;Version 8.0
 
* Added: [[#fetch:xml|fetch:xml]]
The module was introduced with Version 7.6.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu