Lee Carroll wrote:
What are the draw backs of custom doc types ?
If you have clear structures and hence a clear reason for specific doctypes, then there are no drawbacks ;-)
But the question is what is "clear"?! For instance a press release might have a
title, an issued date and paragraphs (min=0 max=unlimited).
You could either do your XML as follows:
<pr> <title>...</title> <date>....</date> <para>...</para> </pr>
or
<html> <body> <div id="date">...</div> <div id="title">...</div> <p>...</p> </body> </html>
Now the PR people suddenly say let's insert tables ....
I think it depends very much on where you want to go to and what the output formats are going to be, etc. ....
Michi
Lee C
----- Original Message ----- From: "Sean Fulton" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, May 04, 2005 3:06 PM Subject: How are you doing templates?
I'm curious as to how others are doing templates for subsections of their site to vary the style and some content. I was going to do custom resource types but the howto suggests that's not appropriate and I can see why. How do you do it? Custom pipelines? Logic within the an XSLT?
Thanks,
Sean
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Michael Wechner Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
