msxml3: Use libxml macros to get the length of a set.