I still don't understand how to generate XHTML 1.0 Strict. I thought one of
the new features of v2.0 was an easily configurable HTML serializer. Do I
really have to write my own?

- Justin Makeig

--
Center for Document Engineering
University of California, Berkeley


On 7/9/03 11:24 PM, "Alessandro Vernet" <[EMAIL PROTECTED]> wrote:

> Hi Justin,
> 
> To customize the HTML serializer, modify your epilogue.xpl to remove
> the "data" output and to add your own HTML serializer. Then your
> epilogue.xpl will look like:
> 
> <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline";>
> 
>    <p:param type="input" name="data"/>
> 
>    <!-- Apply theme -->
>    <p:processor uri="oxf/processor/xslt">
>        <p:input name="data" href="#data-with-xforms"/>
>        <p:input name="config" href="oxf:/oxf-theme/theme.xsl"/>
>        <p:output name="data" id="themed-data"/>
>    </p:processor>
> 
>    <!-- Send to browser -->
>    <p:processor uri="oxf/processor/html-serializer">
>        <p:input name="data" href="#themed-data"/>
>        <p:input name="config">
>            ...your settings...
>        </p:input>
>    </p:processor>
> 
> </p:config>
> 
> The Web application controller will notice that your epilogue does not
> have an output and so it won't connect it to the default HTML
> serializer. You might also want to upgrade to the 2.0 final version of
> OXF that was just released today, as the 2.0 beta1 had a bug that
> prevented this to work in some cases.
> 
> Alex
> 
> Justin Makeig wrote:
>> Is it possible to customize the HTML serializer in the 2.0 beta? How would
>> one go about doing this? Thanks.
>> 
>> - Justin Makeig
>> 
>> --
>> Center for Document Engineering
>> University of California, Berkeley
>> 
>> _______________________________________________
>> oxf-users mailing list
>> [EMAIL PROTECTED]
>> http://mail.orbeon.com/mailman/listinfo/oxf-users
> 
> _______________________________________________
> oxf-users mailing list
> [EMAIL PROTECTED]
> http://mail.orbeon.com/mailman/listinfo/oxf-users
> 
> 

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to