Another way is to use "get" action instead of "view".

On Wed, Dec 15, 2010 at 14:01, Vincent Massol <[email protected]> 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
>



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

Reply via email to