List propList =
orderElem.getChild (Literals.PROP, orderElem.getNamespace()).getChildren();
if (propList.size() != 1)
throw new InvalidQueryException
("Expected exactly 1 prop element, found " + propList.size());
Element propElem = (Element)propList.get(0);
return createProperty (propElem);