Use XML file in Cocos2d-x?

I want to make the XML Doc by XML DOM. In source code of CCUserDefault, it used XML DOM, too. I tried to use the xml function as CCUserDefault like (xmlNewNode, xmlNewDoc…) , but i’ve got errors:

identifier "xmlXXX_function" is undefined

So, how can i use these functions? Thank so much.

A compile error or link error? It seems that you link libxml2 failed.

Compiler Error (VS2010)

Error C3861: 'xmlNewDoc': identifier not found