xsl-list
[Top] [All Lists]

Re: multi-paragraph blockquotes

2005-05-06 08:45:52
"JBryant" == JBryant  <JBryant(_at_)s-s-t(_dot_)com> writes:

    JBryant> The result appeared properly indented in IE 6, Firefox
    JBryant> 1.0.1, and Opera 7.54. To get proper XHTML, you'll need
    JBryant> to adjust the stylesheet, but the concept seems to work
    JBryant> (if I understand what you want).

Specifically, <p> cannot contain block content, whereas blockquote
can.

It seems to me best to translate:

<para>Some text:
   <blockquote>
     <para>One paragraph.</para>
     <para>Another paragraph.</para>
   </blockquote>
</para>


as:

<div>
 <p>Some text:</p>
 <blockquote>
  <p>One paragraph.</p>

etc. and adjust the templates accordingly.
-- 
Colin Paul Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>