Fixed some bugs with metamodel.cnd and added a little more to transform action for XSDs.