Michael B Allen wrote:
<text:p text:style-name="p_5f_prototype">require_once('foo.php');</text:p>
<text:p text:style-name="p_5f_prototype"/>
<text:p text:style-name="p_5f_prototype">bool ...
yields:
require_once('plexcel.php');
bool ...
whereas I would like:
require_once('plexcel.php');
bool ...
Mike
Just add the following somewhere:
<xsl:template match="text:p[. = '']">
</xsl:template>
And change your main match as follows:
<xsl:template match="text:p[. != ''][(_at_)text:style-name='p_5f_prototype'
and not(preceding-sibling::*[1][(_at_)text:style-name='p_5f_prototype'])]">
or something similar.
HTH,
Cheers,
-- Abel Braaksma
--~------------------------------------------------------------------
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>
--~--