Final-ish testing xslt

Still pretty raw but gets the job (mostly) done