It’s been a while since I had to do it. However, as I’ve started to need to tweak FetchXML after I’ve gotten it using my little trick, I was doing things the hard way. I was looking at the FetchXML reference on MSDN. Then I had that “DUH” moment. Just point to the FetchXML schema in the SDK.