Report question

Question: Construct XML with dynamic label and attributes in Scala?