woman at a function wearing a blue dress.
A lady in a blue outfit is attending a function.
" attending a function" is a rephrasing of "at a function".  The woman wearing a blue dress implies that she is in a blue outfit. A woman is a lady.
(-x)
(-x)