refs #429: refactor. create new API to allow structured to preview html xform explicitly