Juston,

You have to use the XML Serializer (uri="oxf/processor/xml-serializer").
This will ensure the serializer outputs XML, not HTML. You can set the
correct public and system doctypes in the serializer configuration, as
documented here:

http://www.orbeon.com/oxf/doc/processors-serializers

I attach a small example of pipeline that you can try out, for example
by adding the following in your controller.xml:

<page path-info="/examples/test" model="../test/xhtml.xpl"/>

This will generate the strict doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
               "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

-Erik

Justin Makeig wrote:

> 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


Attachment: xhtml.xpl
Description: audio/scpls

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

Reply via email to