>
> Hi Jeroen,
>
>
> Jeroen Hoffman wrote:
>>
>> We use Orbeon with the property oxf.epilogue.embeddable set to true.
>> This makes the content render with just two div elements around it, so
>> without html/head/body elements. We want this for views, however the
>> two div elements appear also around the output of pipelines, which
>> should not happen IMO.
>>
>
> I am looking at the code, and epilogue.xpl runs epilogue-portlet.xpl when
> embeddable is set to true. And epilogue-portlet.xpl, as you have noticed,
> doesn't properly handle XML generated by a "service". To create embeddable
> content, I think we only want to just do two things:
>
> * Use the oxf:/config/theme-portlet-examples.xsl theme.
> * Not have a doctype declaration generated at the top of the file.
>
> So I think that when embeddable is set to true, we should:
>
> * Run epilogue-servlet.xpl (remove the code in epilogue.xpl that runs
> epilogue-portlet.xpl).
> * In epilogue-servlet.xpl, in the code that picks the theme, if embeddable
> is true, use theme-portlet-examples.xsl (not explicitly but through the
> oxf.epilogue.theme.portlet property).
> * In epilogue-servlet.xpl, where the oxf:html-converter is called, if
> embeddable is true, don't provide a public-doctype and system-doctype in the
> config to the oxf:html-converter.
>
> Do you want to try those changes? If you get to something that works well
> for you, could you send us the files you updated (may it will just be
> epilogue-servlet.xpl and epilogue.xpl), and we'll put this in the codebase.
>
> Alex
>
> -----
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog:
http://www.orbeon.com/blog/> Personal Blog:
http://avernet.blogspot.com/> Twitter -
http://twitter.com/avernet> --
> View this message in context:
http://www.nabble.com/oxf.epilogue.embeddable%3Dtrue-leads-to-non-XML-pipeline-output-tp24219871p24229754.html> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws>
>