• It was a bit fiddly but then in my experience that is the case when dealing with xml, especially in SQL.