On Wed, Dec 15, 2010 at 16:17, Tim Jones <[email protected]> wrote:
> Vincent,
>
> Thanks for replying.
>
> Using 'xpage=plain&outputSyntax=plain', as you suggest, I still get the 
> content enclosed in <p/><p/>

It's working very well for me as you can see in
http://tuska.myxwiki.org/xwiki/bin/view/Test/Plain?xpage=plain&outputSyntax=plain

The <p> is probably generated some way by your content or maybe you
are using xwiki/1.0 syntax for which outputSyntax parameter is not
supported.

>
> (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
>



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

Reply via email to