You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Apache Wiki <wi...@apache.org> on 2005/04/14 15:29:19 UTC
[Lenya Wiki] Update of "AddingCustomDocType" by AndreasHartmann
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by AndreasHartmann:
http://wiki.apache.org/lenya/AddingCustomDocType
------------------------------------------------------------------------------
Transforming a document to a page in the browser is always a two-step process,
- 1. using {resourcetype}2xhtml.xsl the document (which might be any arbritary XML such as the link list, Docbook, a RSS feed, etc.) is turned into an XHTML presentation.
+ 1. Using {resourcetype}2xhtml.xsl the document (which might be any arbritary XML such as the link list, Docbook, a RSS feed, etc.) is turned into an XHTML presentation.
- 1. this XHTML is then processed to contain nagivation, menus and the like using page2xhtml.
+ 1. This XHTML is then processed to contain nagivation, menus and the like using page2xhtml.
+ 1. The stylesheet {resourcetype}2xhtml.xsl must return a document of the form {{{<div id="body" xmlns="http://www.w3.org/1999/xhtml"> ... </div>}}}.
If you have 5 resource types in your publication, for example:
@@ -240, +241 @@
* add the workflow schema to {{{mypub/config/workflow/}}}
* assign the workflow schema to the resource type in {{{mypub/config/doctypes/doctypes.xconf}}}
-
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org