Lookup discriminator in XML attributes of root node