xsl-list
[Top] [All Lists]

Re: [xsl] xsl table

2007-06-14 03:45:14
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(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>