Re: multi-paragraph blockquotes
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.
I understand your point on this David, but in my case I need to be able to match my output to the logic of input systems (in this case Word*), so I went with this solution:
match="db:section/db:para | db:chapter/db:para | db:article/db:para">
group-adjacent="self::db:orderedlist or self::db:unorderedlist or self::db:blockquote">
I still want to figure out how to assign different class attributes depending on where the p element is ("body text" vs. "body text first indent"), but this works nicely for now.
* As with a lot of publishers, mine asks for Word docs. I consider it an accomplishment that they didn't freak when I gave them xhtml!
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format