6 Jan
2012
6 Jan
'12
1:02 p.m.
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?