Subject: Re: [xsl] convert large array to several smaller arrays containing max N elements From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 11 Nov 2003 18:03:36 -0500 |
<xsl:if test="position() mod 2 = '0'"> </topgroup> <topgroup> </xsl:if>
<xsl:template match="/">
<topgroup>
<xsl:for-each select="//WorkOrder/lineService">
<TEABTN>
<NPA><xsl:value-of select="normalize-space(tpExistAcctBillTelNo/npa)"/></NPA>
<NXX><xsl:value-of select="normalize-space(tpExistAcctBillTelNo/nxx)"/></NXX>
<XXXX><xsl:value-of select="normalize-space(tpExistAcctBillTelNo/xxxx)"/></XXXX>
</TEABTN>
<xsl:if test="position() mod 2 = '0'">
</topgroup>
<topgroup>
</xsl:if>
</xsl:for-each>
</topgroup>
</xsl:template>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] convert large array to se, J.Pietschmann | Thread | Re: [xsl] convert large array to se, David Everly |
Re: [xsl] converting XML to XML pro, Wendell Piez | Date | [xsl] Invalid Driver Name Specified, Arouza, Kevin |
Month |