RE: setParameter(versionParam, 2.0)

2008-10-29 Thread George Tsopouridis

Pascal hello again and thanks for your answers...
I cannot pass parameters to my xslt transformation .
As i read in
http://www.nabble.com/Transformer.setParameter-does-not-work-with-2.7.0-td13854910.html#a20226439
propably xalan causes problems. 
Can you help me;;
My versions are 
internal Xalan-Version: Xalan Java 2.6.0
external Xalan-Version: Xalan Java 2.7.0
internal Xerces-Version: Xerces-J 2.6.2
external Xerces-Version: Xerces-J 2.7.1

Thanks again...

Pascal Sancho wrote:
 
 Hi,
 
 This is used to pass a parameter to the XSLT.
 In XSLT, you can retreive these parameters using xsl:param
 name=versionParam/ at root level.
 
 Pascal
 
 -Message d'origine-
 De : Frank Niedermann [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 9 octobre 2008 14:29
 
 Baeckham wrote:
  
  in many examples demonstrating the usage of FOP I see this lines:
  
  // Set the value of a  in the stylesheet
  transformer.setParameter(versionParam, 2.0)
  
  (transformer is an instance of the class 
 javax.xml.transform.Transformer)
  
  What is this parameter for? Does anyone know? The comment 
 is not helping
  me 
  very much. Is this parameter really necessary? I don't see 
 any differences 
  using it or not.
  
  Steffen
 
 I'm having the very same question. Does anybody have an answer yet?
 
 Frank
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/setParameter%28%22versionParam%22%2C-%222.0%22%29-tp11922629p20226653.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



RE: setParameter(versionParam, 2.0)

2008-10-29 Thread George Tsopouridis

i have 

transformer.setParameter(testingParameter, Boolean.TRUE);

xsl:output method=xml version=1.0 encoding=UTF-8 indent=no/
xsl:param name=testingParameter/
   .
   .
   .
and 

xsl:if test=$testingParameter='true'.../xsl:if


George Tsopouridis wrote:
 
 Pascal hello again and thanks for your answers...
 I cannot pass parameters to my xslt transformation .
 As i read in
 http://www.nabble.com/Transformer.setParameter-does-not-work-with-2.7.0-td13854910.html#a20226439
 propably xalan causes problems. 
 Can you help me;;
 My versions are 
 internal Xalan-Version: Xalan Java 2.6.0
 external Xalan-Version: Xalan Java 2.7.0
 internal Xerces-Version: Xerces-J 2.6.2
 external Xerces-Version: Xerces-J 2.7.1
 
 Thanks again...
 
 Pascal Sancho wrote:
 
 Hi,
 
 This is used to pass a parameter to the XSLT.
 In XSLT, you can retreive these parameters using xsl:param
 name=versionParam/ at root level.
 
 Pascal
 
 -Message d'origine-
 De : Frank Niedermann [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 9 octobre 2008 14:29
 
 Baeckham wrote:
  
  in many examples demonstrating the usage of FOP I see this lines:
  
  // Set the value of a  in the stylesheet
  transformer.setParameter(versionParam, 2.0)
  
  (transformer is an instance of the class 
 javax.xml.transform.Transformer)
  
  What is this parameter for? Does anyone know? The comment 
 is not helping
  me 
  very much. Is this parameter really necessary? I don't see 
 any differences 
  using it or not.
  
  Steffen
 
 I'm having the very same question. Does anybody have an answer yet?
 
 Frank
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/setParameter%28%22versionParam%22%2C-%222.0%22%29-tp11922629p20226793.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



Re: setParameter(versionParam, 2.0)

2008-10-09 Thread Frank Niedermann



Baeckham wrote:
 
 in many examples demonstrating the usage of FOP I see this lines:
 
 // Set the value of a  in the stylesheet
 transformer.setParameter(versionParam, 2.0)
 
 (transformer is an instance of the class javax.xml.transform.Transformer)
 
 What is this parameter for? Does anyone know? The comment is not helping
 me 
 very much. Is this parameter really necessary? I don't see any differences 
 using it or not.
 
 Steffen
 

I'm having the very same question. Does anybody have an answer yet?

Frank
-- 
View this message in context: 
http://www.nabble.com/setParameter%28%22versionParam%22%2C-%222.0%22%29-tp11922629p19897875.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



setParameter(versionParam, 2.0)

2007-07-31 Thread Baeckham
Hi,

in many examples demonstrating the usage of FOP I see this lines:

// Set the value of a param in the stylesheet
transformer.setParameter(versionParam, 2.0)

(transformer is an instance of the class javax.xml.transform.Transformer)

What is this parameter for? Does anyone know? The comment is not helping me 
very much. Is this parameter really necessary? I don't see any differences 
using it or not.

Steffen

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