Re: [xsl] xsl table

Subject: Re: [xsl] xsl table
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jun 2007 11:44:27 +0100
At 2007-06-14 07:13 +0200, Andreas Peter wrote:
Thanks to Ken and Florent for helping me. Using xsl:with-param was
completely new to me, as so many things in xsl :-( Just a beginner...

There is a lot to learn ... you can download a free excerpt of my XSLT book from our web site linked below. There are many other free resources out there to help as well.

The creation of the table now works but as Ken said only for one table
because I match from the very beginning. But how can I change this? I
want to match every table entry inside the document.

Then don't re-address the tree with "//tr.../td..." ... since you are at the appropriate tr and td of your table then just use the current node, addressed using a simple period: select="."

Though good practice would have you doing <xsl:apply-templates/> instead of <xsl:value-of select="."/>.

I hope this helps.

. . . . . . . . . . . Ken

-- Upcoming hands-on training(Europe 2007): XSL-FO Jun 11; UBL Oct 01 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 Legal business disclaimers:

Current Thread