Name
p:text-tail — The standard p:text-tail step.
Synopsis
The p:text-tail
step returns lines from the end of a text document.
Input port | Primary | Sequence | Content types |
---|---|---|---|
source | ✔ | text |
Output port | Primary | Sequence | Content types |
---|---|---|---|
result | ✔ | text |
Option name | Type | Required |
---|---|---|
count | xs:integer | ✔ |
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
| <p:input port="source"
| primary="true"
| sequence="false"
5 | content-types="text"/>
| <p:output port="result"
| primary="true"
| sequence="false"
| content-types="text"/>
10 | <p:option name="count" required="true" as="xs:integer"/>
|</p:declare-step>
Description
The p:text-tail
step is a
standard XProc 3.0 step.
It is also described on XProcRef.org.