This blog demonstrates how you can JOIN (yes, like in SQL) two xml (datasets) to one using a common ID (relationship). shop.xml price.xml main.xsl Resulting XML, after transformation should look like: Bonus code, if some .net developers want a transformation code: