I have a
requirement I didn't disclose: the simple tags like <TRNUID>, <NAME>, <AMOUNT> could come in any order; and some are optional.
Search for "permutation parsing"; Doaitse has thought of that too! Regards, Malcolm _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe