RE: following

2005-03-14 Thread Andreas L. Delmelle
 -Original Message-
 From: Vojko [mailto:[EMAIL PROTECTED]


Hi,

For starters, since you already posted a purely XSLT-related question
yesterday:
Questions like these do not really belong on fop-user... Should be posted on
Mulberry (look on the FOP resources page)

Now, since I am weak and can't help but help you out here... (but if you try
to exploit that weakness one more time, you're on your own --no offence)

 Is there a way that I could call the next and previous chapter not by
 its name but by a generic function? Something like following node...so
 that I would know what is the next chapter and previous from the current
 one.

How about:

xsl:apply-templates select=preceding::chapter /
xsl:apply-templates select=following::chapter /

HTH!

Andreas


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



RE: following

2005-03-14 Thread Vojko
No offence taken...what so ever...you are absolutely right...and it will
not happen again...but hey...anyway...I am glad that you are
weak :)...since it solved my problem.

Thanks a lot.

Regards, Vojko.


On Mon, 2005-03-14 at 11:33 +0100, Andreas L. Delmelle wrote:
  -Original Message-
  From: Vojko [mailto:[EMAIL PROTECTED]
 
 
 Hi,
 
 For starters, since you already posted a purely XSLT-related question
 yesterday:
 Questions like these do not really belong on fop-user... Should be posted on
 Mulberry (look on the FOP resources page)
 
 Now, since I am weak and can't help but help you out here... (but if you try
 to exploit that weakness one more time, you're on your own --no offence)
 
  Is there a way that I could call the next and previous chapter not by
  its name but by a generic function? Something like following node...so
  that I would know what is the next chapter and previous from the current
  one.
 
 How about:
 
 xsl:apply-templates select=preceding::chapter /
 xsl:apply-templates select=following::chapter /
 
 HTH!
 
 Andreas
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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