They should give you a DTD or a Schema to define the XML. If you can get that, you should just be able to compile it in the XML compiler GUI, then use the Transalation Config to map the HL7 to the XML fields. The biggest thing is getting the vendor to provide you the DTD or Schema. A DTD is easier to use and understand, but a Schema is more powerful.