Hi Prakash,
On Wed, 2006-05-31 at 17:15 +0530,
omprakash(_dot_)v(_at_)polaris(_dot_)co(_dot_)in wrote:
This is an FAQ.
http://www.dpawson.co.uk/xsl/sect2/N4486.html#d5171e526
Hmm, it _almost_ is...
The issue with the above is that I'm not going from HTML to HTML, but
OpenDocument. So, I can't just use an xsl:copy in the mode="copy"
template. But, I'm not sure how to replace that without repeating all my
templates from earlier...?
Doing something like:
<xsl:template match="*" mode="copy">
<!-- <xsl:copy-of select="." /> -->
<xsl:apply-templates select="." />
<xsl:if test="not(following-sibling::node()[1]
[self::p or self::table or self::ul or self::ol])">
<xsl:apply-templates select="following-sibling::node()[1]"
mode="copy" />
</xsl:if>
</xsl:template>
... doesn't seem to work. :/
Cheers,
Alex.
--~------------------------------------------------------------------
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>
--~--