This will work as expected.
Indeed, and this is as described in xml_pattern(7), that I should have read more carefully. Sorry about that.
it’s just that I have a lot to work on and other areas need attention right now
As I said, I understand that. :)
Anyway, have you tried xmlsed a bit or toyed with more advanced features (subpatterns, groups, etc.)?
I did tried xmlsed, and it worked fine. (And I wish this tools had existed three years ago, I bet it could have saved me some headaches when I was then trying to handle inconsistently structured XML files!)
But in both cases, I didn’t try (yet) anything overly complicated, only some simple tasks that only require quite simple statements.
# Pierre Bourdon
18.04.10, 22:03.
Did not find this story boring at all :) . Please keep up the hard work on this project, I can think of at least 42 tasks where xmlgrep and xmlsed could be very helpful (for example, I would really like to be able to create an intelligent grep for C files which works on the code AST instead of lines) !
By the way, I’ll try to find some time during next week to create a xmltools-git package on AUR (Archlinux User Repositories).