Yes, a 3DS XL can trade with a normal 3DS as there is no difference in software and only in hardware, as long as you are trying to trade from Gen 6 to Gen 6, Gen 5 to Gen 5, and Gen 4 to Gen 4.
Source: Common sense and experience.