- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Wed, 29 Dec 2021 17:39:52 +0000
- To: ixml <public-ixml@w3.org>
Received on Wednesday, 29 December 2021 17:40:08 UTC
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
Received on Wednesday, 29 December 2021 17:40:08 UTC