How to tell the difference between a voltage regulator in an SOT89 sized SMD and a transistor same package
You need to find an smd code book that has that 2 letter code in it.

The first two letters are the code, the second two numbers are the date (usually).

This looks like it is your part.  SOT89 sized, XL code (the second two numbers are a date stamp or a batch number).