Hi Roopesh, This is really weird... The DocumentSection class is indeed inside the com.xpn.xwiki.api package so it means it's a public API that you can use. However, I've checked where it's used and it's only used inside XWikiDocument which is NOT public itself... Thus my conclusion is that the DocumentSection class is wrongly placed in the api package and it should be instead in the com.xpn.xwiki package... I see that the author of it is Nam. Nam, could you please shed some light on this and tell us what we're missing? :) Thanks -Vincent On Apr 18, 2007, at 11:53 AM, [email protected] wrote:
Hi
I found that in xwiki core api, there is a class DocumentSection. Is it possible to use it (or am I permitted to use it) directly to create documents. If yes, how should I use it ?
Regards Roopesh