Name

p:invisible-xml — The standard p:invisible-xml step.

Synopsis

The p:invisible-xml step performs Invisible XML processing per Invisible XML. It transforms a non-XML input into XML by applying the specified Invisible XML grammar.

Input portPrimarySequenceContent types
grammar ✔ text xml 
source✔  any -xml -html 
Output portPrimarySequenceContent types
result✔ ✔ any 
Option nameTypeDefault value
fail-on-errorxs:booleantrue()
parametersmap(xs:QName, item()*)?()
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
  |   <p:input port="grammar" sequence="true" content-types="text xml"/>
  |   <p:input port="source" primary="true" content-types="any -xml -html"/>
  |   <p:output port="result" sequence="true" content-types="any"/>
5 |   <p:option name="parameters" as="map(xs:QName, item()*)?"/>
  |   <p:option name="fail-on-error" as="xs:boolean" select="true()"/>
  |</p:declare-step>
Errors
CodeDescription

Description

The p:invisible-xml step is defined in the XProc 3.1: Standard Step Library. It is also described on XProcRef.org.