- Create inn.newItem("my federated type")
- Set attributes and properties
- Get AML of new Item and append to string
- Repeat this for all results
- Strip the isNew and isTemp attributes from the AML
- Wrap in <Result> tags
- Return via inn.newItem().LoadAML(mystring);