Subject: Re: [xsl] Conditional processing for first and last of a set of elements From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 10 Mar 2004 07:51:25 -0500 |
I have a series of br elements scattered throughout an xhtml document. I would like to change the very first <br> to '<tr><td>', the intervening ones to '</td></tr><tr><td>', and the last one to '</td></tr>'
I have got this template at teh moment <xsl:template match="//br[text()='LineNumberHolder']">
Please could someone tell me what I'm doing wrong?
-- US XSL training: Washington,DC March 15; San Francisco,CA March 22 World-wide on-site corporate, government & user group XML training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Conditional processing fo, David Carlisle | Thread | RE: [xsl] Conditional processing fo, Michael Kay |
Re: [xsl] Embedding html within xml, Emmanuil Batsis (Man | Date | RE: [xsl] Embedding html within xml, John Reid |
Month |