> Im new to xslt and im guessing thats what i need to do, but im unsure
> of how to write xml using an existing schmema document.
> Can anyone help with some articles or feedback ?
The easiest way: use Visual Studio to create a Schema from your original
output you want to transform.
Use a Schema Mapper software like Altova MapForce (there's a trial
version, very mighty but pricy) or Stylus Studio (don't know it).
The software will show you the XSDs you want to map and you can assign
wich elements should be transformed from one schema to the other by
drawing lines - the XSLT will be auto-generated (be sure to select XSLT
1.0, .NET does not support XSLT 2.0 [finally a good reason to hate