- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Wed, 29 Dec 2021 19:53:01 +0000
- To: Dave Pawson <dave.pawson@gmail.com>
- Cc: ixml <public-ixml@w3.org>
Received on Wednesday, 29 December 2021 19:53:22 UTC
On Wednesday 29 December 2021 19:16:56 (+01:00), Dave Pawson wrote:
Thanks Steven, I’ve been holding back - so used to the command line.
Please let us know if / when there is an installable app.
It's on the to do list, but it will take a while.
Steven
Regards
On Wed, 29 Dec 2021 at 17:40, Steven Pemberton <steven.pemberton@cwi.nl> wrote:
To potentially make your lives easier, I have made an interface that you
can access from the command line, if you have curl installed:
curl -F 'g=@file.ixml' -F 'i=@file.txt'
http://pembo.xs4all.nl/cgi-bin/ixml.sh
This runs ixml on the ixml file file.ixml, and the input file file.txt, and
returns the resultant xml as text:
<date>
<day>4</day>
<month>November</month>
<year>2021</year>
</date>
You can use a path after the @.
The g= and i= have no significance. The grammar file must be first, and the
input second.
I've included a Unix shell command cixml.
cixml file : assumes file.ixml and file.inp exist and uses those
cixml file.ixml input.txt : uses the two files mentioned. The first
must be the ixml file.
Steven
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
Received on Wednesday, 29 December 2021 19:53:22 UTC