Name

p:make-absolute-uris — The standard p:make-absolute-uris step.

Synopsis

The p:make-absolute-uris step makes an element or attribute's value in the source document an absolute IRI value in the result document.

Input portPrimarySequenceContent types
source✔  xml html 
Output portPrimarySequenceContent types
result✔  xml html 
Option nameTypeDefault valueRequired
matchXSLTSelectionPattern ✔ 
base-urixs:anyURI?() 
Declaration
 1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
   |   <p:input port="source" content-types="xml html"/>
   |   <p:output port="result" content-types="xml html"/>
   |   <p:option xmlns:e="http://www.w3.org/1999/XSL/Spec/ElementSyntax"
 5 |             name="match"
   |             required="true"
   |             as="xs:string"
   |             e:type="XSLTSelectionPattern"/>
   |   <p:option name="base-uri" as="xs:anyURI?"/>
10 |</p:declare-step>
Errors
CodeDescription
err:XC0023It is a dynamic error (err:XC0023) if the pattern matches anything other than element or attribute nodes.
err:XD0064It is a dynamic error (err:XD0064) if the base URI is not both absolute and valid according to RFC 3986.
Implementation dependent features
  • If the IRI reference specified by the base-uri option on p:make-absolute-uris is absent and the input document has no base URI, the results are implementation-dependent.

Description

The p:make-absolute-uris step is defined in the XProc 3.0: Standard Step Library. It is also described on XProcRef.org.