atom feed46 messages in org.oasis-open.lists.docbook-appsRe: [docbook-apps] Simpler XHTML output
FromSent OnAttachments
Rene HacheApr 21, 2005 7:01 pm 
Larry GarfieldApr 21, 2005 11:46 pm 
Bob StaytonApr 21, 2005 11:57 pm 
Larry GarfieldApr 22, 2005 12:16 am 
Rene HacheApr 22, 2005 8:15 am 
Dave PawsonApr 22, 2005 10:26 am 
Rene HacheApr 22, 2005 11:28 am 
Bob StaytonApr 22, 2005 12:31 pm 
Rene HacheApr 25, 2005 8:33 am 
Jirka KosekApr 25, 2005 8:42 am.bin
Justus PiaterApr 25, 2005 9:30 am 
Dave PawsonApr 25, 2005 9:40 am 
Rene HacheApr 25, 2005 9:54 am 
Jirka KosekApr 25, 2005 9:55 am.bin
Dave PawsonApr 25, 2005 9:58 am 
Jirka KosekApr 25, 2005 10:08 am.bin
Dave PawsonApr 25, 2005 10:25 am 
Bob StaytonApr 25, 2005 10:40 am 
Dave PawsonApr 25, 2005 10:46 am 
Rene HacheApr 25, 2005 2:19 pm 
Rene HacheApr 25, 2005 2:22 pm 
Larry GarfieldApr 25, 2005 5:24 pm 
Larry GarfieldApr 25, 2005 5:28 pm 
Chris JohnsonApr 25, 2005 5:49 pm 
Bob StaytonApr 25, 2005 5:52 pm 
Rene HacheApr 25, 2005 6:35 pm 
Larry GarfieldApr 26, 2005 6:14 am 
Justus PiaterApr 26, 2005 6:58 am 
Rene HacheApr 26, 2005 7:06 am 
Justus PiaterApr 26, 2005 7:08 am 
Norman WalshApr 26, 2005 8:35 am.pgp
Colin Paul AdamsApr 26, 2005 8:44 am 
Dave PawsonApr 26, 2005 8:47 am 
Dave PawsonApr 26, 2005 8:48 am 
Norman WalshApr 26, 2005 8:52 am.pgp
John L. ClarkApr 26, 2005 1:52 pm.pgp
Peter RingApr 27, 2005 2:31 am 
Rene HacheApr 28, 2005 9:16 pm 
Dave PawsonApr 29, 2005 11:45 am 
Larry GarfieldApr 29, 2005 10:04 pm 
Rene HacheApr 30, 2005 12:25 am 
M.-A. DARCHEApr 30, 2005 8:27 am 
Larry GarfieldMay 2, 2005 9:04 pm 
Dave PawsonMay 3, 2005 10:10 am 
Rene HacheMay 3, 2005 11:47 am 
Larry GarfieldMay 4, 2005 10:41 pm 
Subject:Re: [docbook-apps] Simpler XHTML output
From:Larry Garfield (lar@garfieldtech.com)
Date:Apr 25, 2005 5:28:43 pm
List:org.oasis-open.lists.docbook-apps

Dave Pawson wrote:

On Mon, 2005-04-25 at 10:40 -0700, Bob Stayton wrote:

The div elements serve a purpose in creating a structure in the XHTML that CSS can work with. Since CSS styles can cascade down through the structure, you can set styles at the appropriate level and override them as needed in lower levels. I agree that we should eliminate div elements that don't serve that purpose, but I can't see removing them all.

What use cases do you see then Bob?

See my last email for an instance that just happened to me recently.

Mine is very plain HTML, if viewed in a browser. Not exiting visually, I agree.

Having extra nested divs doesn't make your output any less plain. On the other hand, they allow me to create fancier pages with extra non-content images in weird places, which I do need for my current project. Removing most of the style-less divs wouldn't affect your code either way, but would make mine much harder to deal with. :-)

(Note: That's not intended as a slam against you in any way, in case it came off as such. I'm just pointing out that simple-page folk don't lose functionality with the divs there while complex-page folk do lose functionality without them.)

"If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson