[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Table border issue
Subject: [xsl] Table border issue From: "Chaudhary, Harsh" <HCHAUDHA@xxxxxxxxx> Date: Wed, 13 Dec 2006 15:24:48 -0600 |
I think this might be too much of a newbie question, but I have not been able to resolve this. I have a table and for its header, the code is: <fo:table-header background-color="gray" border="0.5pt solid black"> I want a 0.5pt border around the header. It is working fine for the top and bottom border but, on the left and right sides, its like the border is 1pt width? I would appreciate any suggestions. HC. -----Original Message----- From: Kamal Bhatt [mailto:kbhatt@xxxxxxxxx] Sent: Wednesday, December 13, 2006 3:14 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Option mystery Oleg Konovalov wrote: > Hi, > I am trying to fix a bug in somebody else's XSLT1.0/Cocoon2.0.4 app. > I encountered something in the code which I don't understand. > > <xsl:choose> > <xsl:when test="$tier/option[option-num=$cur-option-num and > @rate-increase='true']"> > <option rate-increase="{@rate-increase}"> > <debug1>branch1</debug1> > ...other elements > </option> > </xsl:when> > </xsl:choose> > Oleg, Is your code incomplete? Normally you wouldn't use choose/when where there is only one condition. Sorry to hijack this question, but the $tier has me curious. I assume that $tier is a result tree fragment. Does that mean that there was code that did the following: <xsl:variable name="tier"> <xsl:copy-of select="<some path"/> </xsl:variable> Also (for the mailing list), is this a XSLT 2.0 thing or will it work for 1.0 as well. I have read this: http://www.dpawson.co.uk/xsl/sect2/nodeset.html and it seems to suggest you can't use this in 1.0, but I am not sure. Thanks. -- Kamal Bhatt
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Re: [xsl] Option mystery, cknell | Thread | Re: [xsl] Table border issue, J.Pietschmann |
Re: [xsl] Option mystery, Kamal Bhatt | Date | RE: [xsl] Problem with Xpath, Michael Kay |
Month |
Keywords