The transmission for the xterra and frontier are the same, but they are different from a pathfinder. Tailshaft is different.
I know that the ECMs are the same. If the mounts match up I would go for it.
1991-2004 Dodge Dakota and Durango All Dodge Vipers 2005-2008 Nissan Frontier 2005+ Nissan Pathfinder 2005+ Nissan Xterra
Nissan Xterra running boards fit on a Nissan fender 1999 2001
2005+ Nissan Pathfinder is one of the vehicles that these wheels fit. From what I've found this bolt pattern is also on 2005 and newer Nissan Xterra's, 2005 and newer Nissan Frontier's, Dodge Dakota's, and Dodge Durango's.
The 2006 Nissan Xterra has a 6-speed manual.
The 2010 Nissan Xterra has a 6-speed manual.
The 2002 Nissan Xterra has a 5-speed manual.
The 2007 Nissan Xterra has a 6-speed manual.
The 2011 Nissan Xterra has a 5-speed automatic.
The 2004 Nissan Xterra has a 5-speed manual.
The 2013 Nissan Xterra has a 5-speed automatic.
The 2005 Nissan Xterra has a 6-speed manual.