XML Processing (Newbie Question)
Thanks for answers about my previous query on processing XML output from an exam-making program. I should have been more specific, though. I don't know what to do with these instructions... Should I put them in a filter file? If so, how do I call it from the command-line? Sorry for being so ignorant of ConTeXt ways. A private answer would help. Thanks!
On Wed, May 21, 2003 at 05:51:21PM -0300, Alexandre Enkerli wrote:
Thanks for answers about my previous query on processing XML output from an exam-making program. I should have been more specific, though. I don't know what to do with these instructions... Should I put them in a filter file? If so, how do I call it from the command-line? Sorry for being so ignorant of ConTeXt ways. A private answer would help.
Simple way: put these macro definitions at the top of your file. Slightly more complicated way: put these macro definitions in a separate file, and input that with the \input command. The Context XML way: put these macro definitions in an XML filter file, which you call xtag-nnn.tex, where nnn is your name for the filter file, and then run your file with the command 'texexec --xmlfilter=nnn yourfile.xml'. Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl
At 17:51 21/05/2003 -0300, Alexandre Enkerli wrote:
Thanks for answers about my previous query on processing XML output from an exam-making program. I should have been more specific, though. I don't know what to do with these instructions... Should I put them in a filter file? If so, how do I call it from the command-line? Sorry for being so ignorant of ConTeXt ways. A private answer would help.
put them in a file, say myenv.tex, then you can directly process the xml file with: texexec --env=myenv yourfile.xml Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
participants (3)
-
Alexandre Enkerli
-
Hans Hagen
-
Simon Pepping