Re: [xsl] xsl:for-each question

Subject: Re: [xsl] xsl:for-each question
From: r.devries@xxxxxxxx
Date: Thu, 30 Oct 2003 13:22:11 +0100
Hi Michael,

What David means is that XSL is a template language and you have to learn
to think in templates, not in for-each.
The node you want to do something with is "topic", so write a template for
Maybe this example will help you on the way (the depth of nesting in
"topic" doesn't matter, the template will call itself):

<xsl:stylesheet version="1.0" xmlns:xsl="";>
  <xsl:output method="html"/>

  <xsl:template match="*">
    <table border="1">

  <xsl:template match="topic">
      <xsl:value-of select="@name"/>


Greetings René
   {@   @}

"You don't need eyes to see, you need vision!"

Steenovenweg 3
5708 HN  Helmond
The Netherlands
tel: +31(0) 492 502 226
fax: +31(0) 492 502 299
e-mail: R.deVries@xxxxxxxx

Deze e-mail is uitsluitend bestemd voor de geadresseerde(n).
Verstrekking aan en gebruik door anderen is niet toegestaan.
TJIP PCL sluit iedere aansprakelijkheid uit die voortvloeit uit
elektronische verzending.

This e-mail is intended exclusively for the addressee(s), and may
not be passed on to, or made available for use by any person
other than the addressee(s). TJIP PCL rules out any and every liability
resulting from any electronic transmission.

 XSL-List info and archive:

Current Thread