Yves Forkl (SRZ) wrote: > > I would like to set all attributes of type xml:lang in my document to > some value that the user should be allowed to choose. For some reason, I > don't want to use XSLT for this, but am rather intending to develop a > macro command for this task. > > Is there anything like a looping construct within XXE's commands that I > could use to iterate over the element nodes, calling putAttribute on > each of them?
No. > Or is it possible to have a non-contiguous selection of > element nodes to which I could apply putAttribute in one run? No. However, I think that some users have succeeded in writing *recursive* macro-commands to perform tasks similar to the one you describe.

