[NTG-context] xml file inclusion

2012-01-04 Thread Hans van der Meer
I would like to include files with the following input xml-file root file location=.. other_attributes/file /root In the xmlsetup for file I thought to place a call to \xmlinclude: \startxmlsetups xml:file \xmlinclude{#1}{.}{location} \stopxmlsetups But this does not work and I get

Re: [NTG-context] xml file inclusion

2012-01-04 Thread Hans van der Meer
After a lot of experimenting I finally succeeded including a file with thw \xmlinclude macro. The next hurdle is how to extend the xml tree with its xml contents (if that is possibl, of course). Thus the main file being: ?xml version=1.0 encoding=UTF-8? main .. /main I would like to extend