• There's a basic tutorial here:

    http://sql31.blogspot.co.uk/2013/03/how-to-use-script-component-as-data.html

    Basically, most of your code goes into CreateNewOutputRows() and you just call Output0Buffer.AddRow() as you iterate through the XMLReader...