- From: Dave Pawson <dave.pawson@gmail.com>
- Date: Wed, 29 Dec 2021 18:16:56 +0000
- To: Steven Pemberton <steven.pemberton@cwi.nl>
- Cc: ixml <public-ixml@w3.org>
Received on Wednesday, 29 December 2021 18:17:20 UTC
Thanks Steven, I’ve been holding back - so used to the command line. Please let us know if / when there is an installable app. 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 18:17:20 UTC