Your input is not well-formed XML. This makes it difficult, though not impossible, to process using XSLT. Perhaps, however, the errors in your XML were not intended. In that case, the transformation becomes trivial: but I won't give you any code, because I don't know what the real XML looks like.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|