Wildcard card in a xpath of must constraint

@conny @mvf,
ok So valiadtion phase the way to go …
Can i write the validation hooks , using erlang also ?
If so are there any examples ?
Is it the same as transactional hook?