following

2005-03-14 Thread Vojko
Hi

I gave the following XML structure

book
chapter name=index ... /chapter
chapter name=about ... /chapter
chapter name=conclusion ... /chapter
...
/book

I am able to to call a specific chapter in XSL by using 

xsl:template match=book/[EMAIL PROTECTED]'about']

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.

Thanks, Vojko.




-
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]



calling specific XML child element

2005-03-13 Thread Vojko Kercan @ Dhimahi
Hi

What is the method to call a specific child element...for example...I
want to call in XSL value of root/h2 which is value h2? How is this
done? Is it by specifying a tag name h2 name=h2?
 
root
h1value h1/h1
h2value h2/h2
root

Regards, Vojko.


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



RE: text-align

2004-12-05 Thread Vojko Kercan
Hi

I tried it but it is not working. Can you help me with it? Am I using
display-align correctly?

This is what I have:

fo:table table-layout=fixed
fo:table-column column-width=5cm /
  fo:table-body
fo:table-row
  fo:table-cell height=5cm 
fo:block display-align=afterWant to align bottom/fo:block
  /fo:table-cell
/fo:table-row
  /fo:table-body
/fo:table


Greets, Vojko


On Sat, 2004-12-04 at 19:35, Andreas L. Delmelle wrote:
  -Original Message-
  From: Vojko [mailto:[EMAIL PROTECTED]
  
 
 Hi,
 
  How can I align the text to bottom of a row or table or a cell?
  
 
 Setting 'display-align=after' should do the trick.
 
 
 Greetz,
 
 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]



fop servlet question 3

2004-12-05 Thread Vojko
Hi

Why does this:
http://192.168.0.21:8080/fop/servlet/FopServlet?xml=/home/vojko/public_html/servlets/fop/src/brochure/brochure.xmlxsl=http://localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php

cause this error:

java.io.FileNotFoundException:
/home/vojko/http:/localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php: 
No such file or directory

Can I call xsl file on a server?

Regards, Vojko.


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



column-count

2004-12-05 Thread Vojko
Hi

Is it possible to use column-count inside a table? Or to rephrase
that...how can I use text in many columns just on one portion of a page
and not on complete page?

Regards, Vojko.


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



Re: fop servlet question 3

2004-12-05 Thread Vojko
Hi

I didn't do the trick...I keep getting /home/vojko/...file not found and
I really don't know where is this /home/vojko/... defined.

Maybe it has got something to do with my Jakarta-Tomcat container?

Vojko

On Sun, 2004-12-05 at 19:02, Gunnar Liljas wrote:
 Not knowing the inner workings of the servlet I'd like to recommend that 
 your path to the XSL be URL encoded.
 
 /G
 
 
 
 At 13:40 2004-12-05, you wrote:
 Hi
 
 Why does this:
 http://192.168.0.21:8080/fop/servlet/FopServlet?xml=/home/vojko/public_html/servlets/fop/src/brochure/brochure.xmlxsl=http://localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php
 
 cause this error:
 
 java.io.FileNotFoundException:
 /home/vojko/http:/localhost/~vojko/servlets/fop/src/brochure/brochure-fo.php:
  
 No such file or directory
 
 Can I call xsl file on a server?
 
 Regards, Vojko.
 
 
 -
 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]


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



text-align

2004-12-04 Thread Vojko
Hi

How can I align the text to bottom of a row or table or a cell?

Regards, Vojko


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



fop servlet question 2

2004-12-03 Thread Vojko
Hi

How to build fop servlet with jimi library?

I am using it for presenting jpgs in my PDF...when I am using fop
directly everything is OK. But how do I do it with servlet.

Regards, Vojko.




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



fop servlet question

2004-12-02 Thread Vojko
Hi

I have built fop servlet, installed it in my tomcat container and
everything is working perfectly.

The last thing I need...is that my servlet runs with -c userconfig.xml
where I defined font metrics files.

How do I do that?

Thank you in advance.

Regards, Vojko.




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



Re: Printing PDF on the client default printer.

2004-10-21 Thread Vojko Kercan
Hi...I have exactly the same requirements. Where by this is not a
website, but some web application that should print something as fast as
it can and many times a day. If we manage not to reopen Acrobat Reader
each time, we save time for our users.

If you find any solution, please post it on the list.

Thanks,
Vojko

On Thu, 2004-10-21 at 00:29, [EMAIL PROTECTED] wrote:
 My requirement is to render an XML as  a PDF and then print the PDF on the
 clients default printer. I dont want the PDF to prompt user to open the
 acrobat reader.
 
 I already have an applet on the client side which uses PrinterJob class to
 popup the printer selection box on client side.
 
 Now how do I redirect the content from server to this printer?
 
 Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL set in the fop driver
 renderer ? and what content type should the response object return?
 
 Thanks
 Manoj
 
 PS: I have successfully use the FopPrinter example ( FopPrintServlet ) to
 print pdfs on the app servers default printer but what I need is to be able
 to print on the clients default printer and not on servers printer.
 
 
 
 -
 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]