Re: [docbook-apps] Aligning numbers in table cells with xsl

2012-05-26 Thread Xmplar
mailto:b...@sagehill.net *Cc:* DocBook Apps mailto:docbook-apps@lists.oasis-open.org *Sent:* Thursday, May 24, 2012 7:38 PM *Subject:* Re: [docbook-apps] Aligning numbers in table cells with xsl I managed to (almost) fix the problem by adding a test for NaN to the string variable

RE: [docbook-apps] Aligning numbers in table cells with xsl

2012-05-25 Thread Dominik Psenner
. :-) Cheers, Dominik _ From: Xmplar [mailto:i...@xmplar.biz] Sent: Friday, May 25, 2012 4:39 AM To: Bob Stayton Cc: DocBook Apps Subject: Re: [docbook-apps] Aligning numbers in table cells with xsl I managed to (almost) fix the problem by adding a test for NaN to the string

Re: [docbook-apps] Aligning numbers in table cells with xsl

2012-05-25 Thread Bob Stayton
(translate(., 'lt;gt;', ''))) Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Xmplar To: Bob Stayton Cc: DocBook Apps Sent: Thursday, May 24, 2012 7:38 PM Subject: Re: [docbook-apps] Aligning numbers in table cells with xsl I managed

Re: [docbook-apps] Aligning numbers in table cells with xsl

2012-05-24 Thread Bob Stayton
H Dave, Can you supply the custom parameters that your template is using? Thanks. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Xmplar To: DocBook Apps Sent: Wednesday, May 23, 2012 5:41 AM Subject: [docbook-apps] Aligning numbers in table

Re: [docbook-apps] Aligning numbers in table cells with xsl

2012-05-24 Thread Xmplar
I managed to (almost) fix the problem by adding a test for NaN to the string variable: xsl:if test=(ancestor-or-self::d:table/@tabstyle = 'numbers' or ancestor-or-self::d:table/@tabstyle = 'numberstripe') and not(ancestor::d:thead or ancestor::d:tfoot) and