I think the phrase "mixed content" in your subject is confusing me. At any
rate...
From: Edgar Steven [mailto:edgar_steven(_at_)bah(_dot_)com]
The source is coming from MS Word documents. I only want to be
able to use
data such as bullets, lists, and tables. All other elements I
would like to
ignore like graphs, images, etc.
Something like this...
<!-- ignore everything -->
<xsl:template match="*" />
<!-- ...except for elements X, Y and Z -->
<xsl:template match="X|Y|Z">
<xsl:copy>
<xsl:apply-templates mode="copy" select="*|*@" />
<xsl:copy>
</xsl:template>
<xsl:template match="*|*@|text()" mode="copy" />
<xsl:copy/>
<xsl:template>
cheers,
mark
--~------------------------------------------------------------------
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>
--~--