put

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?

Links to W3C specifications

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

Applies to:

Notes on the Saxon implementation

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