Use of the word BOTH in Chinese. I've always been wondering how you would say, "I went to china both for travel and to study Chinese."

So if someone asked you, "你是去中国旅行的还是去学习汉语的?" (Did you go for travel or for study?), and you basically wanted to say "both reasons", would you use the 一边。。。一边。。。 structure? 

Would this be correct? 我是去中国一边旅行一边学习汉语的。

Thanks in advance!
In fact 一边。。。一边。。。 means doing two things at the same time, like 我一边学习一边听音乐 means I listen to the music while studying.

Here, you can say 我去中国既旅行又学习汉语。 

既。。又。。 is an appropriate phrase to express that.