Cannot get CDATA to work

Christopher Cheng <[email protected]> Mon, 31 May 2010 23:40:57 +0800
Newsgroups gmane.text.xml.xmlbeans.user
Message-ID <[email protected]>
I went thru a few posts in this list, but still no luck to get CATA to work.
I am using xmlbeans version 2.4.
What's wrong with the followings?

node.setKey("ABCDEFG");
XmlCursor c = node.xgetKey().newCursor();
c.toFirstContentToken();
c.setBookmark(CDataBookmark.CDATA_BOOKMARK);
System.out.println(node);