Thorsten Scherler wrote:
Hmm, I always wondered why we have been limiting everything to the <div
id="body"/>. Why we are not changing the page2xhtml.xsl like:
...
<head>
<xsl:apply-templates
select="xhtml:[EMAIL PROTECTED]'content']/xhtml:[EMAIL PROTECTED]'head']"/>
</head>
<body>
<xsl:apply-templates
select="xhtml:[EMAIL PROTECTED]'content']/xhtml:[EMAIL PROTECTED]'body']"/>
</body>
This way we support as well the head parts of a content document.
votes++
but i'm wondering whether xhtml elements are a good choice as markers -
perhaps it would be better have some lenya-internal namespace for
markers, such as <lenya:head> and <lenya:body> or <page:*> or whatever
(i'm not too familiar with lenya's namespaces, perhaps somebody else can
suggest a better solution?)
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
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]