Subject: RE: [xsl] repeating elements From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Tue, 26 Mar 2002 14:21:56 -0000 |
> How can i copy everything between the <cell> tag more than once? <xsl:template match="cell"> <xsl:copy-of select="*"/> <xsl:copy-of select="*"/> </xsl:template> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > > <?xml version="1.0"?> > <row> > <cell> > <data atr="1">9</data> > <namedcell name="A"/> > <data atr="2">9</data> > <namedcell name="B"/> > </cell> > </row> > > Should become: > > <?xml version="1.0"?> > <row> > <cell> > <data atr="1">9</data> > <namedcell name="A"/> > <data atr="2">9</data> > <namedcell name="B"/> > <data atr="1">9</data> > <namedcell name="A"/> > <data atr="2">9</data> > <namedcell name="B"/> > </cell> > </row> > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] repeating elements, cutlass | Thread | RE: [xsl] repeating elements, WATKIN-JONES,ADAM (H |
[xsl] save method, stevenson | Date | Re: [xsl] save method, David Carlisle |
Month |