Hi, I am all too familar with bed wetting children. My son finally quit when he was about 7 and my 8 year old still wets the bed. Funny thing you bring up though is she started wetting the bed at 5 because so did both of my children and it was right around the time school started. So I agree with the other post maybe she has some added stress coming from school. we also do not allow liquids after 5 in our home for the children but, that has never been effective. So heres what we have done. First, we bought plastic sheets for our daughter because trying to get the smell out of the matress is not a very pleasant one. Also, we bought our daughter a pee moniter on Ebay. What it does: You attach the smaller end of the device to your childs panties where the urine with touch, the bigger part attaches to their shoulder right by their ear and the minute just a drop of urine touches it the buzzer sounds. At first we had to go into her room when that happened and wake her but, after a while she started waking to it by herself what you need to make sure of is she wears it because our daughter sneaks sometimes snd gets into bed without it and she pees the bed again. Also make her a rewards chart and hang it where she can see it. Allow her to pick her stickers and make the rewars something special at the end of a week or a month of not peeing the bed. This has also been effective with my daughter. Hope this helps you.
Did anything happen to her? Maybe something at school? Have you asked your Dr about it, could be something he could help with just a phone call. Also there is a possibility that she's having dreams and really just not waking up. I remember as a kid (although I hate to admit it), I used to dream that I was going to the bathroom, in my bathroom only to wake up and realize that I was still in my bed .... I do think that you did the right thing with taking away the fluids at night, but a phone call to the Dr. might be in order (just in case).