Hi,C.. Sweeetie,it's not your daughter's fault! She's doing this in her sleep. She has no control over it. Do not punish her just because it's a pain in the neck for you to clean up after her.
Yes, no doubt there is a medical reason for her problem. If she has pee that is very smelly, it probably means she has an infection or something is going wrong with her kidneys. Please get her checked out ASAP.
If there is nothing wrong physically with her bladder or kidneys, sometimes children wet the bed and regress even during the daytime if there has been something upsetting in their lives.
I see in your signature that you have a new baby boy. This can cause a child to go back to baby behaviors because she misses being the baby of the family. DON'T PUNISH HER FOR IT. Punishment will only make it worse.
If you first find out that she doesn't have any illness that makes her wet herself, then try putting her in those PullUps things for a little while. That alone might make her want to stop doing it. At the very least, she will stop wetting her clothes during the daytime. You might have to wake her up during the night for a while to get her to either change the PullUp or get up to go to the toilet. I know this is extremely inconvenient, but you might try doing this at a time when you are already up for the new baby -- that way you don't have to wake up twice. Wake her up at regular intervals to pee.
Sometimes children sleep so deeply that they can't wake up to normal bladder signals. She probably has different sleeping patterns and activity patterns now that the new baby is here...not to mention that she has been displaced TWICE, once by her sister and now by her brother. So help her adjust -- don't make her feel even more like a stranger by punishing her and shaming her.
Also, make sure that she gets some good attention. Right now, she's getting negative attention for the peeing problem, and that may be most of the attention she's getting. Make sure she gets positive attention for all the right reasons, and as little negative attention as possible. Make sure she has no reason to feel invisible or replaced by the new baby or any other creature on the planet.
I hope everything works out wonderfully for the whole family.
Peace,
Syl