@RavenHurstT
Indeed, thats how xml contextSwitcher works. You have to create a view file same way you would as if it was a regular html output, just with .xml.phtml extension. So I would call it
list.xml.phtml as per my existing examples.
Move all the logic of creating the variables from controller into that xml.phtml file. Again, thats identical to how you would create any old HTML view file just make the final output from there look like xml this time.
Hope this helps.
@stkfdt
sorry I am yet to look over my code to answer your question
