Andreas Hartmann wrote:
> Jörn Nettingsmeier wrote:
>> (moving this thread to dev...)
>>
>> Andreas Hartmann wrote:
>>> Joern Nettingsmeier wrote on the user list:
>>>> hi *!

>>> I guess it's not possible without modifying publication code.
>>>
>>> You could add another format to the resource type which produces a
>>> complete XHTML including <head>, or just the XHTML head, or just
>>> the CSS:
>>>
>>>   <format name="xhtml-page" uri="..."/>
>>
>> btw, the same issue arises when you try to use the "odt to xhtml"
>> stylesheet from http://books.evc-cit.info/odf_utils/odt_to_xhtml.html
>> to spiff up the opendocument resource type (great work btw!). it
>> relies heavily on additional css.
>>
>> it's probably best to have one format that creates the <div
>> id="body"/> and one that produces all necessary additional header
>> lines (most likely script and css references). iiuc, the default
>> publication pipeline should then aggregate this and the page2xhtml.xsl
>> needs to include it.
>>
>> the question is, how should it be wrapped?
>> i don't really like how the content snippet is marked with <div
>> id="body"/>. the wrapper should be an element from an internal
>> namespace, not from xhtml imho.
> 
> OK, this makes sense.

any suggestions? i'm not too familiar with what's going on in the
"lenya:" namespace, but what about lenya:body and lenya:header?

>> plus in the case of additional header tags, there is no legal wrapper
>> element in xhtml.
> 
> We could use a complete XHTML document, including headers and body.
> The reason for not doing this was that some elements have to be
> stripped (e.g., /head/title), which could cause confusion.
> 
> Is there anything apart from CSS references which has to be
> included in the XML returned by the format?

<script/> comes to mind. but why have any restrictions at all?

best,

jörn



-- 
"Án nýrra verka, án nútimans, hættir fortíðin að vekja áhuga."
"Without new works, without the present the past will cease to be of
interest."
        - Ásmundur Sveinsson (1893-1982)

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to