API that from one type to another. Currently supports princexml