xml transform to html using xslt
问题 I'm trying to use key function to transform xml to html look like: but I don't know how to make two table, because my if function write books one under other. A XML looks like: <library> <books> <book aut="JKR"> <title>Harry Potter and the Sorcerer's Stone</title> <quantity>5</quantity> </book> </books> <books> <book aut="JKR"> <title>example</title> <quantity>3</quantity> </book> <book aut="AC"> <title>example</title> <quantity>2</quantity> </books> <authors> <author id="JKR">J.K.Rowling<