Fatbob wrote:
Using XSL, I need to be able to remove (by this I mean or not display)
certain child elements. For example I only want to display the 1st, 2nd,
3rd, 6th and 7th, and always those elements only.
Well XSL does not display elements, it only processes them. If in your
template for the Row element you do e.g.
<xsl:template match="Row">
<xsl:apply-templates select="Cell[position() = (1,2,3,6,7)"/>
</xsl:template>
<xsl:template match="Cell">
<!-- output what you want to output -->
</xsl:template>
then with XSLT 2.0 that should work to process only the listed Cell
elements.
--
Martin Honnen
http://JavaScript.FAQTs.com/
--~------------------------------------------------------------------
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>
--~--