Changes

Jump to navigation Jump to search
70 bytes added ,  22:57, 12 March 2013
|-
| '''Summary'''
|Fetches the resource referred to by the given URI and returns it as [[Streaming Module|streamable ]] {{Code|xs:string}}.
|-
| '''Errors'''
|
* <code><nowiki>fetch:text("http://en.wikipedia.org")</nowiki></code> returns a string representation of the English Wikipedia main HTML page.
* <code><nowiki>datastream:materialize(fetch:text("http://en.wikipedia.org"))</nowiki></code> returns a materialized representation of the streamable result.
|}
|-
| '''Summary'''
|Fetches the resource referred to by the given URI and returns it as [[Streaming Module|streamable ]] {{Code|xs:base64Binary}}.
|-
| '''Errors'''
|
* <code><nowiki>fetch:binary("http://images.trulia.com/blogimg/c/5/f/4/679932_1298401950553_o.jpg")</nowiki></code> returns the addressed image.
* <code><nowiki>datastream:materialize(fetch:binary("http://en.wikipedia.org"))</nowiki></code> returns a materialized representation of the streamable result.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu