If your 1999 Ford Ranger XL *does* have a cabin air filter (some later-production models or those with optional features might have added one), it's likely located behind the glove box. However, this is not guaranteed.
To be sure:
1. Check your owner's manual: This is the best source of information for your specific vehicle.
2. Look behind the glove box: Carefully remove the glove box (often just involves releasing some clips) and inspect the area thoroughly. The filter might be in a small housing or easily visible.
3. Consult a Ford repair manual: A repair manual specific to your year and model Ranger will give precise diagrams and instructions.
4. Search online forums: Searching for "1999 Ford Ranger cabin air filter location" in forums like FordTruck.com or similar might yield information from other owners who have tackled this.
If you don't find a filter, it's very probable your truck doesn't have one. You'll need to rely on regular cleaning of the ventilation system to maintain air quality.