質問: I want to know the meaning of "山田さんはどんな風にしていましたか。" and understand the grammatical construction. Does it means "How Yamada looked like ?" or "In what way Yamada did it?" ? For this example, the reply of that question about Yamada in my textbook is "元気そうにしていました。"
回答: In the case of example, it means "How Yamada looked like ?". (Without context, "山田さんはどんな風にしていましたか。" can mean both of them.)