code: @Override
      public <A> A fromXML(Document document, Class<A> clazz) {
          return fromXML(stringify(document), clazz);
      }
docs: Builds a new instance of the given class <em>clazz</em> from the given XML document.
  
  @param document the XML document
  @param clazz    the class of the instance to construct
  @return an instance of the class.