RE: XPath expression

2003-05-15 Thread Andy Joslin
Title: Message



Hi 
Torsten

It is 
probably worth you looking at the XSL List and the XSLT FAQ.

http://www.mulberrytech.com/xsl/xsl-list/
http://www.dpawson.co.uk/xsl/xslfaq.html
http://www.dpawson.co.uk/xsl/sect2/N961.html

This 
is a frequently asked question, and the same logic applies whether you are using 
XSL to transform toPDF or to HTML

You 
want to do something like this (within the row match):

xsl:variable name="bgcolor"
xsl:choosexsl:when test="position() mod 2 = 
0"#e6e6e6/xsl:whenxsl:otherwise#ff/xsl:otherwise/xsl:choose
/xsl:variable


Then 
displaythis variable as an attribute on the row line: e.g. 
color="{$bgcolor}"


Hope 
this helps

Andy




  
  -Original Message-From: Torsten Erler 
  [mailto:[EMAIL PROTECTED] Sent: 15 May 2003 
  09:44To: Fop-User (E-mail)Subject: OT: XPath 
  _expression_
  Hi 
  all,
  
  I know it's not 
  the right List, but I think there are a lot of XSL-Experts here in this 
  list.
  
  Does anyone know 
  the XPath _expression_ for counting all Attributes and all childs 
  (grandchilds...)of all preceding siblings of the selected 
  node???
  In Other words 
  which row numberhas the selected node in a full expanded 
  tree.
  (I need 
  thisto set the row backgound color for each second 
  row)
  
  ThanX
  
  cu 
  Torsten
  




This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. 

Although ri3k Limited believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and ri3k Limited does not accept any responsibility for any loss or damage in any way from its use.

ri3k Limited
Registered in England: 10-12 Ely Place, London, EC1N 6RY
Company Number: 3909745



RE: Fop Logo Contest

2003-02-26 Thread Andy Joslin
cheers

A


-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] 
Sent: 26 February 2003 10:36
To: [EMAIL PROTECTED]
Subject: Re: Fop Logo Contest


Andy Joslin wrote:

 Here's a couple of designs for the logo competition. I've done the 
 design in a few different colours as an example of how the logo could 
 work in different situations. The logo is meant to be simple, scalable

 and can include the 'powered by' text if required.
 
 I can provide a SVG if necessary, but I've sent these through as gif's

 for now.
Added to the list, thanks, Andy. Looks like very professional work.

-- 
Oleg Tkachenko
Multiconn Technologies, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







This e-mail and its attachments are confidential. If you are not the intended 
recipient of this e-mail message, please telephone or e-mail us immediately, 
delete this message from your system and do not read, copy, distribute, 
disclose or otherwise use this e-mail message and any attachments. 

Although ri3k Limited believes this e-mail and any attachments to be free of 
any virus or other defect which may affect your computer, it is the 
responsibility of the recipient to ensure that it is virus free and ri3k 
Limited does not accept any responsibility for any loss or damage in any way 
from its use.

ri3k Limited
Registered in England: 10-12 Ely Place, London, EC1N 6RY
Company Number: 3909745

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: FOP logo contest

2003-02-03 Thread Andy Joslin
Hi


I've noticed that the deadline for submitting a design and voting are
the same (28th Feb). Wouldn't it perhaps be better to set a deadline for
the logo submission first and then a second deadline for voting? That
way the voters can choose from the full range of entries when when
placing their vote..


regards


Andy




Hello!

New FOP is looming and it needs a new logo. FOP Team announces open logo

contest and invites all members of the FOP community as well as any
other 
interested parties to participate as contestants or by expressing your
opinion 
through voting.

The rules and details are at http://xml.apache.org/fop/logocontest.html.
-- 
Oleg Tkachenko
Multiconn Technologies, Israel





This e-mail and its attachments are confidential. If you are not the intended 
recipient of this e-mail message, please telephone or e-mail us immediately, 
delete this message from your system and do not read, copy, distribute, 
disclose or otherwise use this e-mail message and any attachments. 

Although ri3k Limited believes this e-mail and any attachments to be free of 
any virus or other defect which may affect your computer, it is the 
responsibility of the recipient to ensure that it is virus free and ri3k 
Limited does not accept any responsibility for any loss or damage in any way 
from its use.

ri3k Limited
Registered in England: 10-12 Ely Place, London, EC1N 6RY
Company Number: 3909745

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



External-Link Hotspot Offset Problem FOP 0.20.4

2002-11-15 Thread Andy Joslin
Hi All

I was wondering if there was a standard workaround for the problem of
the fo:basic-link hotspot displaying in the wrong position (approx 2-3cm
above where the link should be).

I'm using FOP 0.20.4, and have seen a bugfix relating to this, so does
anyone have experience of getting this issue resolved and working in FOP
0.20.4 ?


regards


Andy


This e-mail and its attachments are confidential. If you are not the intended 
recipient of this e-mail message, please telephone or e-mail us immediately, 
delete this message from your system and do not read, copy, distribute, 
disclose or otherwise use this e-mail message and any attachments. 

Although ri3k Limited believes this e-mail and any attachments to be free of 
any virus or other defect which may affect your computer, it is the 
responsibility of the recipient to ensure that it is virus free and ri3k 
Limited does not accept any responsibility for any loss or damage in any way 
from its use.

ri3k Limited
Registered in England: 10-12 Ely Place, London, EC1N 6RY
Company Number: 3909745


RE: External-Link Hotspot Offset Problem FOP 0.20.4

2002-11-15 Thread Andy Joslin
Christian Geisert wrote :

This bug is fixed in CVS.
So you could either checkout the source and compile FOP yourself or
wait some days for the 0.20.5
release candidate (tester are welcome ;-)

Great ! I'll be more than happy to test the new release when it comes
out :-) In the meantime I'll have a look at compiling the source as
well. I've tried playing around with the padding, but this doesn't seem
to have had much effect and obviously it would be better to get a proper
fix if possible.

Sorry for the cross-post, I wasn't sure that I was asking the question
of the right list.

Thanks again


Andy













This e-mail and its attachments are confidential. If you are not the intended 
recipient of this e-mail message, please telephone or e-mail us immediately, 
delete this message from your system and do not read, copy, distribute, 
disclose or otherwise use this e-mail message and any attachments. 

Although ri3k Limited believes this e-mail and any attachments to be free of 
any virus or other defect which may affect your computer, it is the 
responsibility of the recipient to ensure that it is virus free and ri3k 
Limited does not accept any responsibility for any loss or damage in any way 
from its use.

ri3k Limited
Registered in England: 10-12 Ely Place, London, EC1N 6RY
Company Number: 3909745