fn:put

Writes an updated document to disk.

put($doc as node(), $uri as xs:string) ➔ xs:NCName?

Arguments

 

$doc

node()

The document to be written to disk

 

$uri

xs:string

The location where the document is to be written, as a file:/// URI

Result

xs:NCName?

Namespace

http://www.w3.org/2005/xpath-functions

Links to W3C specifications

XQuery Update 1.0

Notes on the Saxon implementation

Implemented in Saxon; available only when XQuery Updates is enabled.