XSL Merging Multiple XML Records in the Same File
问题 I have a single XML file containing multiple records. Each record has a key. I'd like to select all of the records by key and collapse each into one XML record. Some of the data in each XML record is repeated and there are empty elements. I'd also like to remove duplicates and empty tags. Input <Data> <Record> <Key>12345</Key> <Number>09095I</Number> <Text_Field_1>Record 1: This is Text Field 1</Text_Field_1> <Text_Field_2>This is Text Field 2</Text_Field_2> <Author>A1</Author> <Author>A2<