Subject: [xsl] captured in a <xsl:for-each> From: "Roman Huditsch" <r.huditsch@xxxxxxxx> Date: Mon, 23 Jul 2001 14:08:51 +0200 |
Hi there! I seem to be captured in a for-each loop. Can someone please help me to escape and get the expected result? <xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="node()|@*"/> </xsl:copy> </xsl:template> <xsl:template match="kapitel"> <xsl:for-each select="//title"> <!-- "title" is hierarchically above "kapital" --> <p> <xsl:apply-templates/> </p> </xsl:for-each> </xsl:template> ... I would like to create a <p> tag for each title and within this paragraph I want to copy all the nodes and attributes as they are in the source file. But with the syntax above I just get an infinite template recursion. Could you please help me? Cheers, Roman > Roman Huditsch (RH ) > _____________________________________________________________________ > hico Informations- und Kommunikations-Management Gesellschaft m.b.H. > TechLab, Thomas A. Edison Straße 2. > A-7000 Eisenstadt / Austria > phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10 > e-mail:support@xxxxxxxx; r.huditsch@xxxxxxxx > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] hard core xlt ;-), Elise D. | Thread | Re: [xsl] captured in a <xsl:for-ea, David Carlisle |
Re: [xsl] is paging transformation , cutlass | Date | [xsl] automation server can't creat, Elise D. |
Month |