
30 Jun
2025
30 Jun
'25
6:21 p.m.
Am 30.06.2025 um 17:59 schrieb Duncan Hothersall:
Hello list. I feel this should be an easy question to answer but I couldn't find a hint.
I have a ConTeXt file which pulls in an XML file for processing using the command
\xmlprocessfile{mydomain}{myXMLfile.xml}{}
I would like instead to call context with the XML file name in the command line (so that I can use the same ConTeXt setups on multiple XML sources).
How can I do that?
\xmlprocessfile{...}{\inputfilename}{} and process it with context --environment=mytexfile myxmlfile.xml Wolfgang