Vincent,

Thanks for replying.

Using 'xpage=plain&outputSyntax=plain', as you suggest, I still get the content 
enclosed in <p/><p/>

(I am running 2.6.33065)

Regards,

Tim



On 15 Dec 2010, at 13:01, Vincent Massol wrote:

> Hi Tim,
> 
> try:
> xpage=plain&outputSyntax=plain
> 
> Thanks
> -Vincent
> 
> On Dec 15, 2010, at 1:27 PM, Tim Jones wrote:
> 
>> I would like to return pure JSON from a page with a macro, to be called 
>> externally as a web service.
>> 
>> When I append xpage=plain to the URL of the page to omit the UI content, the 
>> output is still enclosed within <p> </p>.
>> 
>> Is there any way to get the plain text content without an enclosing 
>> paragraph tag?
>> 
>> Regards,
>> 
>> Tim
> 
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to