Hi Justin,

There is no schema for the "document" namespace. Using this namespace
is 100% optional. You can as well use XHTML directly.

The benefit of using a distinct namespace is to make it more explicit
that the elements are not sent directly to a client, but that they are
styled first.

The important thing is that whatever elements you use, your theme
deals with them. With the default epilogue in 1.5.2, the theme is
themes/theme1.xsl in oxf.jar. (With the upcoming 2.0, the theme has
been moved to resources/oxf-theme/theme.xsl.) But you can (and
eventually you should) create your own epilogue and your own theme.

-Erik

Justin Makeig wrote:

> Does a schema exist for the document namespace
> (http://orbeon.org/oxf/xml/document)? I'm trying to determine which types of
> elements can appear there and which would be better suited for XHTML. For
> example, why recreate the h1 element in the
> http://orbeon.org/oxf/xml/document namespace? Wouldn't this be more suited
> for XHTML. Or perhaps I'm missing the crux of the document namespace.
> Thanks.
>
> - Justin

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

Reply via email to