1

Am very new to XSLT and XPROC stuffs. Now i have written my sample XPROC, As like every beginner, i also started with Hello World.

hello.xpl

<?xml version="1.0" encoding="UTF-8"?>
<p:pipeline xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline">
<p:identity>
<p:input port="source">
<p:inline>
    <p>Hello world!</p>
</p:inline>
</p:input>
</p:identity>
</p:pipeline>

Now my question may be silly, I want to know how to execute this and view the output?

Thanks.

grtjn
  • 20,254
  • 1
  • 24
  • 35
i2ijeya
  • 15,952
  • 18
  • 63
  • 72

1 Answers1

0

Download Calabash (a FLOSS XProc processor) and run it on your pipeline.

gioele
  • 9,748
  • 5
  • 55
  • 80
  • You will need Java to run XMLCalabash, but if it is in your path, and you have the calabash.jar in the same directory as your hello.xpl, you run it with this command-line: java -jar calabash.jar hello.xpl – grtjn Nov 12 '11 at 14:22
  • @grtjn: I do not know of any freely available implementation of XProc that does not require Java (see http://xproc.org/implementations/). – gioele Nov 12 '11 at 17:38
  • that remark was meant for i2ijeya. But apart from xprocxq (written in XQuery) you are right. – grtjn Nov 13 '11 at 13:36
  • Is there a IDE with compilation error prompt and debug by step through? Thanks – cmf41013 Dec 20 '19 at 00:15