× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The '' makes it to be evalutated as a string (Word).

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of David FOXWELL
Sent: Thursday, October 22, 2009 12:22 PM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] XSL FO problem

Hi,

I had this line in my XSL file : <fo:table-cell column-number="3" >

I need the colum number to be variable, so I'm passing a parameter and
then doing this :

<fo:table-cell column-number="'{$columnNumber}'" >

I've had to play with the quotes to get it to run. It now runs, but I
get this in the log :

[warning] Bad attribute column-number: Attribute type mismatch:
column-number cannot have value '3' of type Word.

I'm worried that this might not work when deployed.

Does anyone understand what's wrong or has a better way of getting the
column-number to be variable?

Thanks.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.