I use to be an assist direct at a large center in Keller (almost 300 kids) so i have had my share of biters!
You need to sit down and make a bite book with her.
Get some magazines and contstuction papers. Make pages of items you can "bite" and items you "can not bite" and you need to go over it every day. Sent it to school with her if needed.
You need to get with the director of the school to have her "shadow" the teacher. This is possible. You just need to inforce it. Shadowing meaning she needs to hold one hands of the teachers in there.
Even if there is 1 teacher and the 11 kids (state ratio) this is possible so if they say no do not buy it.
I have been there so it is def possible. Do they have a peace place in the classroom? This is an area that the child can go to if they bite. Should be like a mat or carpet with a bucket next to it with happy items, puppets, stress balls, books about feelings, soft felt hand mirror etc...
A two year old does understand that biting hurts others. All the above items mentioned were things we started when kids moved to the toddler rooms begining at 12 months and they were successful with the kids.
You say she does it for attention? Most "biters" do not bite for attention. They bite because they can not verbally express their feelings or what they are trying to say. How is her speech? Is she talking in short 2-4 work sentences yet? I am not sure if she is a new two or two and half etc. Is she speaking around 50 words? If she isn't doing these there might be another underlining issue that you need to look at. If so Early Child Intervention can help with "bringing" out the speach in children till they are 3 years old by going to your home and school for child for no cost.
Also please note that there is 'no rule' for the state guidlines for how many times a child can bite before being kicked out. Until I was a director I heard all the different things when i was teacher about 3 times their kicked out etc.... there is no rule. The rule with the state is "if a child is a danger to themselves or others" then that is the case. Danger is in if she is "breaking" the skin of the other kids. Technically if the skin is broken (the bite bleeds) the child needs to be sent home from school and the other child's parents must be called and taken to a dr to be checked into.
So schools tried to avoid because parents want to file against the school's insurance. This is the reason that daycare costs are so high (teachers dont make anything but minimum wage up to 10/hr usually)
Hope some of this helps