Worms or larvae, about 1 inch long and white, are in the trunk and branches of my elm tree in Sedona, AZ.
Could be webworms. If so, they will build webs in the tree which are hard to break up for spraying. It can be done, however. See this link.