enabled support for subjectSet, with localType populated by XQuery (supporting addition of @xlink:href); also cleaned up note so that notes appear in noteSet