Re: Avery labels

2004-10-04 Thread Frank Daly
PROTECTED] Subject: [work] Re: Avery labels This is an XSLT question, not really related to FOP. http://xml.apache.org/fop/maillist.html#xslt-mulberry You're violating XML structure like this (just like M$ does with WordML). That's why you're getting the error. You can't program spaghetti-code

RE: [work] Re: Avery labels

2004-09-27 Thread Pascal Sancho
-output-escaping=yeslt;/fo:table-rowgt;/xsl:text /xsl:if Bye Pascal -Message d'origine- De : Frank Daly [mailto:[EMAIL PROTECTED] Envoyé : vendredi 24 septembre 2004 19:07 À : [EMAIL PROTECTED] Objet : RE: [work] Re: Avery labels Thanks again. This has to be the most polite

Re: [work] Re: Avery labels

2004-09-27 Thread Jeremias Maerki
This is not only not very academic, it's plain ugly, error-prone, violates XML concepts and works only if you don't connect XSLT and FOP using SAX. You should NEVER do something like that. Get a good XSLT book. On 27.09.2004 09:14:53 x x x x x x x wrote: Hi, A very long time ago, I've tried the

RE: [work] Re: Avery labels

2004-09-27 Thread Pascal Sancho
Hi Jeremias Maerki wrote: This is not only not very academic, it's plain ugly, error-prone, violates XML concepts and works only if you don't connect XSLT and FOP using SAX. You should NEVER do something like that. I agree. Get a good XSLT book. The best for me is XSLT - Working with XML

Avery labels

2004-09-24 Thread Frank Daly
Hi I want to create an Avery labels report. The labels I use have 3 columns so I want a new row for the first, fourth, seventh, etc. To this end I test the position and attempt to create a new row when position() modulus 3 = 1. xsl:for-each select=//client xsl:if test=position() mod 3 =1

Re: Avery labels

2004-09-24 Thread Jeremias Maerki
: Hi I want to create an Avery labels report. The labels I use have 3 columns so I want a new row for the first, fourth, seventh, etc. To this end I test the position and attempt to create a new row when position() modulus 3 = 1. xsl:for-each select=//client xsl:if test=position() mod 3

RE: [work] Re: Avery labels

2004-09-24 Thread Frank Daly
: Avery labels This is an XSLT question, not really related to FOP. http://xml.apache.org/fop/maillist.html#xslt-mulberry You're violating XML structure like this (just like M$ does with WordML). That's why you're getting the error. You can't program spaghetti-code-style in XSLT the way you were

Re: [work] Re: Avery labels

2004-09-24 Thread Clay Leeds
On Sep 24, 2004, at 9:13 AM, Frank Daly wrote: Many thanks for your thoughtful reply but I can't get it to work. Surely someone has come across this problem before and found a solution. Frank Someone probably has. That's why Jeremias was directing you to the XSLT list where someone probably has

Re: [work] Re: Avery labels

2004-09-24 Thread Chris Pratt
Unless it's imperitive that the data flows horizontally, I'd look at using the column support that's built into FOP and forget trying to build table rows. (*Chris*) Original Message --- On Sep 24, 2004, at 9:13 AM, Frank Daly wrote: Many thanks for your thoughtful reply

RE: [work] Re: Avery labels

2004-09-24 Thread Frank Daly
Thanks again. This has to be the most polite and friendly user group around! Frank -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: 24 September 2004 05:31 To: [EMAIL PROTECTED] Subject: Re: [work] Re: Avery labels On Sep 24, 2004, at 9:13 AM, Frank Daly wrote