>Thanks again,Sergey. It works well.
> But quite odd, the WITH clause of OPENXML() is case-sensitive! have no remark in book online.
Nothing odd about that because XML itself is case sensitive. I agree though that BOL could be clearer on the mapiing XML attributes/elements to the resulting rowset.
--sb--