maybe use another xml file to store their relation. and when transform,use document() to handle their relation XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list