Sex and the City star Sarah Jessica Parker is to voice a character in Shrek 3.

"I am delighted to be doing a role that my children and friends' children will be able to see," Parker told World Entertainment News Network.

Shrek 3 is due for release in 2007 and is expected to be as successful as the previous films in the series.