RE: [xsl] How to output open/close tags independently?

Subject: RE: [xsl] How to output open/close tags independently?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Fri, 27 Dec 2002 10:59:30 -0500
I wrote -

> <xsl:template match='x'>
> <w>
> 	<xsl:copy-of select='.'/>
> 	<xsl:copy-of select='following-sibling::x[$modulus >
> position()]'/>
> </w>
> </xsl:template>

I wrote it this way to illustrate the point, but it could have been even
simpler -

<xsl:template match='x'>
 <w>
 	<xsl:copy-of 
        select='following-sibling::x[$modulus >= position()]'/>
 </w>
</xsl:template>

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread