Following an example in the chapter on Expressions and filters for 
xml-processing one can select on an attribute ‘name’ in the node <file 


However, I would like to select on a combination of alternatives, so that 
equivalent are
    <file name=“whatever”/> and  <file src=“whatever”/>

I tried several variations but none of them work.
   \xmlfilter{#1}{file([@name=="whatever”] or [@src=="whatever”])/command(todo)
   \xmlfilter{#1}{file[@name=="whatever”] or [@src=="whatever”]/command(todo)
   \xmlfilter{#1}{file[@name=="whatever”] or 

How to? Or is this impossible?

Hans van der Meer

If your question is of interest to others as well, please add an entry to the 

maillist : /
webpage  : /
archive  :
wiki     :

Reply via email to