p:variable
Element information
Namespace: http://www.w3.org/ns/xproc
Schema document: xproc.xsd
Type: p:bindingType
Properties: Global, Qualified
Content
- Sequence [1..1]
- Choice [0..*]
- p:namespaces
from subst. group p:annotation - Sequence [0..1]
- Choice [1..1]
- p:empty
from subst. group p:bindingfrom subst. group p:oneBinding - Choice [0..*]
- p:namespaces
from subst. group p:annotation
- Choice [1..1]
- Choice [0..*]
from group p:optBinding
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 | [1..1] | xsd:QName | from type p:poType | |
select | [1..1] | p:XPathExpression | ||
Any attribute | [0..*] | Namespace: ##other, Process Contents: lax |
Used in
- Anonymous type of element p:choose
- Anonymous type of element p:try
- 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)
Sample instance
<p:variable name="QName" select="string"> <p:namespaces> <p:documentation> <!--any element--> </p:documentation> </p:namespaces> <p:pipe step="NCName" port="NCName"> <p:documentation> <!--any element--> </p:documentation> </p:pipe> <p:namespaces> <p:documentation> <!--any element--> </p:documentation> </p:namespaces> </p:variable>