Edward Bryant wrote:
I am having a lot of trouble transforming XML blockquotes that are
structurally and grammatically correct (i.e, as child elements to a
parent paragraph tag) into XHTML that will be displayed correctly by a
browser. Because of two separate IE6 bugs that prevent a blockquote
from being structured as the child of a paragraph, I pretty much need
the XSL output to be
<p>Yadda yadda yadda:</p>
<blockquote><p>blah blah blah</p></blockquote>
<p class="cont">yackity yack</p>
However, the XML is structured like this:
<p>Yadda yadda yadda:
<blockquote>blah blah blah</blockquote>
yackity yack</p>
your best bet is to remove all <p/>'s and then apply text() matching
template that wraps text with <p/>, along with a blockquote template
that just copies itself.
actually (as it weirdly seems) there was a similar type problem earlier
today on the list
search the archives for the following subject line
Re: [xsl] Transformation problem tei > xhtml
this should put you on the right track
gl, Jim Fuller
--~------------------------------------------------------------------
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>
--~--