Hi,
Maybe you should use the standard HTTP protocol and just add
"?outputSyntax=html&xpage=plain" at the end of the URL.
See as an example:
http://www.xwiki.org/xwiki/bin/view/Main/WebHome?outputSyntax=html&xpag…
I hope this helps,
Guillaume D.
2012/7/25 mterpstra <telic.detour(a)gmail.com>
I'm developing a Java servlet application that
needs to fetch pages from an
XWiki instance in the same container. It needs the content rendered in
XHTML. Ideally, I'd like to get just the page content, without any of the
extra navigation/layout markup. Whats the best way to do this?
I've looked at using the REST API, but as far as I can figure out it only
provides the content in the xwiki syntax. Is there a way to get the
content
rendered in XHTML through this API?
--Maxwell Terpstra
--
View this message in context:
http://xwiki.475771.n2.nabble.com/API-to-get-page-content-in-XHTML-tp758053…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users