On 5/7/2013 5:30 PM, Meer, H. van der wrote:
With \xmlload{myroot}{file} I can load an xml file and the execute on its nodes.
However what to do if the file is not of the form <root>file-contents</root>?
In that case it would help if I could contruct a node with with some actions 
like:
<root>\input{fileconytents</root> and then operate with xml commands on that 
<root> node.

Can this be accomplished?

you can just filter the node ..

\xmlfilter{#myroot}{/some/element .....

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to