Made changes so this was targeted towards HDF types. I removed some java calls and replaced with XSLT also added java calls in other places