p:try
Element information
Namespace: http://www.w3.org/ns/xproc
Schema document: xproc.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Sequence [1..1]
- Choice [0..*]
- p:variable
from subst. group p:annotation - p:group [1..1]
- Choice [0..*]from subst. group p:annotation
- p:catch [1..1]
- Choice [0..*]from subst. group p:annotation
- Choice [0..*]
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
xml:id | [0..1] | xsd:ID | from type p:anyProc | |
xml:base | [0..1] | xsd:anyURI | from type p:anyProc | |
name | [0..1] | xsd:NCName | from type p:componentType | |
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax |
Used in
- Group p:subPipe
- Anonymous type of element p:catch via reference to p:groupModel
- Anonymous type of element p:compoundStep via reference to p:subPipe
- Anonymous type of element p:declare-step via reference to p:subPipe
- Anonymous type of element p:for-each via reference to p:subPipe
- Anonymous type of element p:group via reference to p:groupModel
- Anonymous type of element p:otherwise via reference to p:groupModel
- Anonymous type of element p:pipeline via reference to p:subPipe
- Anonymous type of element p:viewport via reference to p:subPipe
- Anonymous type of element p:when via reference to p:subPipe
- Group p:groupModel via reference to p:subPipe
- Type p:stepType via reference to p:subPipe (Element p:step)
Substitution hierarchy
- p:component
- can be substituted with p:try
Sample instance
<p:try> <p:documentation> <!--any element--> </p:documentation> <p:group> <p:output port="NCName"> <p:documentation> <!--any element--> </p:documentation> <p:empty>... </p:empty> <p:documentation> <!--any element--> </p:documentation> </p:output> <p:variable name="QName" select="string"> <p:namespaces>... </p:namespaces> <p:pipe step="NCName" port="NCName">... </p:pipe> <p:namespaces>... </p:namespaces> </p:variable> <p:documentation> <!--any element--> </p:documentation> <p:add-attribute match="string"> <p:input port="NCName">... </p:input> </p:add-attribute> <p:documentation> <!--any element--> </p:documentation> </p:group> <p:documentation> <!--any element--> </p:documentation> <p:catch> <p:output port="NCName"> <p:documentation> <!--any element--> </p:documentation> <p:empty>... </p:empty> <p:documentation> <!--any element--> </p:documentation> </p:output> <p:variable name="QName" select="string"> <p:namespaces>... </p:namespaces> <p:pipe step="NCName" port="NCName">... </p:pipe> <p:namespaces>... </p:namespaces> </p:variable> <p:documentation> <!--any element--> </p:documentation> <p:add-attribute match="string"> <p:input port="NCName">... </p:input> </p:add-attribute> <p:documentation> <!--any element--> </p:documentation> </p:catch> <p:documentation> <!--any element--> </p:documentation> </p:try>