-
Notifications
You must be signed in to change notification settings - Fork 0
/
module.xpl
21 lines (19 loc) · 821 Bytes
/
module.xpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<p:library xmlns:p="http://www.w3.org/ns/xproc"
xmlns:d2t="http://www.data2type.de"
xmlns:cx="http://xmlcalabash.com/ns/extensions"
xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
<p:import href="http://xmlcalabash.com/extension/steps/library-1.0.xpl"/>
<p:declare-step type="d2t:module">
<cx:message>
<p:with-option name="message" select="'static-base-uri: ' || static-base-uri()"/>
<p:input port="source">
<p:empty/>
</p:input>
</cx:message>
<cx:message>
<p:with-option name="message" select="'unparsed-text-available: ' || unparsed-text-available('../txt/unparsed-text.txt')"/>
</cx:message>
<p:sink/>
</p:declare-step>
</p:library>