Re: Combining JavaScript with Fop application

2003-01-07 Thread J.Pietschmann
Meir wrote:
this question for the people that have or using the Fop application
(http://xml.apache.org/fop/)
i did read the manual and did read some of the news groups msg's but i
didn't understand
how can i use JavaScript with Fop ? in the .xsl file that creating the
xsl-fo ?
do i need program new extension ? is there any extension?
FOP uses by default Xalan for XSLT. Xalan has an extension
element for defining JS functions. You have to look into the
Xalan docs for details.
However, why do you think you need JS in your transformation?
Unles you want to use XSLT as an do-all kitchen sink, this
is usually unnecessary.
The XSL list
  http://www.mulberrytech.com/xsl/xsl-list/
deals in more details with XSLT specific questions.
J.Pietschmann

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


RE: Combining JavaScript with Fop application

2003-01-07 Thread Matthew L. Avizinis
What you're writing about here is how to use Javascript with Xalan.  When
you run FOP from the command line, it is transparent to the user that it is
calling and running Xalan to create the fo file before FOP itself runs on
the fo file.  If you look at the Xalan page of apache.org, you'll see a
number of examples of how to use Javascript.  If you need any more help
after that, just send another message and I'll be glad to help, as I use
Java and Javascript extension functions to Xalan in my own work.
   Matthew L. Avizinis mailto:[EMAIL PROTECTED]
Gleim Publications, Inc.
   4201 NW 95th Blvd.
 Gainesville, FL 32606
(352)-375-0772 ext. 101
  www.gleim.com http://www.gleim.com


 -Original Message-
 From: Meir [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, January 08, 2003 2:14 PM
 To: [EMAIL PROTECTED]
 Subject: Combining JavaScript with Fop application


 Hello
 this question for the people that have or using the Fop application
 (http://xml.apache.org/fop/)
 i did read the manual and did read some of the news groups msg's but i
 didn't understand
 how can i use JavaScript with Fop ? in the .xsl file that creating the
 xsl-fo ?
 do i need program new extension ? is there any extension?
 im really in dead end here
 can someone give me please example ? or some derection for me to
 understand
 how to use js with Fop?
 thank for the help



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



Re: Combining JavaScript with Fop application

2003-01-07 Thread Meir
Hello
tnx for the fast reply .
well i have some custom functions i need to operate on xml nodes .and maybe
i will need more js support
for formatting date ,time , numbers in all sorts of  NOT standard ways .
any way i only found in Xalan site only this example for using js , but i
did not understand how can i combine my
custom js scripts .( do i need to program new extension in java?? )
 http://xml.apache.org/xalan-j/extensions.html#supported-lang
tnx for the help



- Original Message -
From: J.Pietschmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 1:40 PM
Subject: Re: Combining JavaScript with Fop application


 Meir wrote:
  this question for the people that have or using the Fop application
  (http://xml.apache.org/fop/)
  i did read the manual and did read some of the news groups msg's but i
  didn't understand
  how can i use JavaScript with Fop ? in the .xsl file that creating the
  xsl-fo ?
  do i need program new extension ? is there any extension?

 FOP uses by default Xalan for XSLT. Xalan has an extension
 element for defining JS functions. You have to look into the
 Xalan docs for details.
 However, why do you think you need JS in your transformation?
 Unles you want to use XSLT as an do-all kitchen sink, this
 is usually unnecessary.
 The XSL list
http://www.mulberrytech.com/xsl/xsl-list/
 deals in more details with XSLT specific questions.

 J.Pietschmann




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



Re: Combining JavaScript with Fop application

2003-01-07 Thread Meir
Hello
well yeah i know the process of using xml--xslt--fo--pdf
and its working just fine , but the problem is when i try to combine js in
my xslt file
the xsl file that creates the xsl-fo file from the xml data 
from the  one example i found in
http://xml.apache.org/xalan-j/extensions.html#supported-lang
i did not understand how can i make my own js script ... what is the process
( for dummy's)
live examples will be very helpful..
thanks!

- Original Message -
From: Matthew L. Avizinis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 1:40 PM
Subject: RE: Combining JavaScript with Fop application


 What you're writing about here is how to use Javascript with Xalan.  When
 you run FOP from the command line, it is transparent to the user that it
is
 calling and running Xalan to create the fo file before FOP itself runs on
 the fo file.  If you look at the Xalan page of apache.org, you'll see a
 number of examples of how to use Javascript.  If you need any more help
 after that, just send another message and I'll be glad to help, as I use
 Java and Javascript extension functions to Xalan in my own work.
Matthew L. Avizinis mailto:[EMAIL PROTECTED]
 Gleim Publications, Inc.
4201 NW 95th Blvd.
  Gainesville, FL 32606
 (352)-375-0772 ext. 101
   www.gleim.com http://www.gleim.com


  -Original Message-
  From: Meir [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, January 08, 2003 2:14 PM
  To: [EMAIL PROTECTED]
  Subject: Combining JavaScript with Fop application
 
 
  Hello
  this question for the people that have or using the Fop application
  (http://xml.apache.org/fop/)
  i did read the manual and did read some of the news groups msg's but i
  didn't understand
  how can i use JavaScript with Fop ? in the .xsl file that creating the
  xsl-fo ?
  do i need program new extension ? is there any extension?
  im really in dead end here
  can someone give me please example ? or some derection for me to
  understand
  how to use js with Fop?
  thank for the help
 
 
 
  -
  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]