Subject: Re: [xsl] multi-paragraph blockquotes From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 6 May 2005 17:09:38 +0100 |
Yes, that was what I was just about to say in reply to Jay. But how do you do this in XSLT (2.0)? there was a longish thread on grouping the mixed content of a p to pull out block level elements on this list earlier this week (or last week or whenever) But personally I think the fault is the content model of p which doesn't correspond well to the notion of a paragraph. This is fixed in XHTML2 but XHTML2 renderers are thin on the ground. So for HTML or XHTML1.x I think that using a div (which basically is p with a fixed content mode) produces semantically more meaningful html files than using p and arbitrarily splitting up a paragraph into multiple p's so that block level elements come between teh sub-paragraphs not within them. See my previous reply that produces valid html that has indented paragraphs (modelled as div of class para rather than as p) David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] multi-paragraph blockquot, Colin Paul Adams | Thread | Re: [xsl] multi-paragraph blockquot, Bruce D'Arcus |
Re: [xsl] multi-paragraph blockquot, Bruce D'Arcus | Date | RE: [xsl] Recursively Walking Throu, Aron Bock |
Month |