[Home] [By Thread] [By Date] [Recent Entries]

Subject: Identity Transformer Source Reducer
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Fri, 27 May 2005 19:29:53 -0700
Hi,

Need a simple transformation to reduce the size of a file... so like I
just need to see the first 10 elements of an xml source which is 10
megs!  Those first 10 elements would be the first 10 child elements to
the source including their child elements.  Here's what ISN'T working:


    <xsl:template match="node | @*">
    	<xsl:apply-templates select="node[position() &lt;= 10] | @*" />
    </xsl:template>

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member