Do you actually need
\xmlprocessfile{...}{\inputfilename}{}
?
I just use
context --environment=mytexfile myxmlfile.xml
and it works just fine.
Wolfgang Schuster <wolfgang.schuster.li...@gmail.com> hat am 30.06.2025 18:21 CEST geschrieben:Am 30.06.2025 um 17:59 schrieb Duncan Hothersall:Hello list. I feel this should be an easy question to answer but Icouldn't find a hint.I have a ConTeXt file which pulls in an XML file for processing usingthe command\xmlprocessfile{mydomain}{myXMLfile.xml}{}I would like instead to call context with the XML file name in thecommand line (so that I can use the same ConTeXt setups on multiple XMLsources).How can I do that?\xmlprocessfile{...}{\inputfilename}{}and process it withcontext --environment=mytexfile myxmlfile.xmlWolfgang___________________________________________________________________________________If your question is of interest to others as well, please add an entry to the Wiki!webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)archive : https://github.com/contextgarden/context___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________