Am 05.01.2012 13:36, schrieb Hans Hagen: > On 5-1-2012 09:19, Martin Fechner wrote: >> Hi all, >> >> I wish you happy new year and start with an xml-question: >> Is it possible to process files from an URL address? It should be >> something like: >> >> \starttext >> >> .... >> >> \xmlprocessfile{main}{http://example.com/document1.xml}{} >> \xmlprocessfile{main}{http://example.com/document2.xml}{} > > low level hackery ... > > \edef\MyFileName#1{\cldcontext{resolvers.findbinfile(url.hashed("#1"))}} > > \xmlprocessfile{main}{\MyFileName{"http://example.com/document1.xml"}}{} > > \xmlshow{main}
This doesn't seem to work. The output says only: <error>empty xml file</error> But the xml-file isn't empty. Any solution? ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________