RES: RES: XSP in XSL

2003-09-19 Thread Jose Antonio Rosa dos Santos Junior
Thanx Luca. I´ll try that.

I saw somewhere an example of a pipeline using 2 matchers and i thought i could use 
the output of a serializer as an input of the generator of the next matcher.

Cheers

Jose Antonio

-Mensagem original-
De: Luca Morandini [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 19 de setembro de 2003 13:46
Para: [EMAIL PROTECTED]
Assunto: Re: RES: XSP in XSL


Jose Antonio Rosa dos Santos Junior wrote:

> hmmm.. Maybe. Haven´t thought that way. Can i link two pipelines to do that instead?
> 
> I´m sending what i am trying to do:
> 
> stemap.xmap:
> ...
>  
> 
>   
> 
>   
> 
>   
> ...
> 
> pagina-fnde2html.xsl:
> ...
>   
>   ...
>
>   
>   SimpleDateFormat format = new SimpleDateFormat("dd/MM/");
>   
>   
>   format.format(new Date())
>   
>   ...
>   
> ...
> 
> teste.xsp:
> 
> 
>xmlns:xsp="http://apache.org/xsp";
> 
> 

No, you cannot.

Specifically, you cannot use XSP tags in your XSL: XSP is interpreted 
only in the generation stage.
What XSL does is just to transform (using the XSL language, not the XSP 
one) the output produced by the XSP.

If you really can't do without Java in the XSL, take a look at the XSL 
extension of Xalan, using which you will be able call Java within an 
XSL, like:

http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";
xmlns:java="http://xml.apache.org/xslt/java";
 >
... 


...

...which, coincidentally, you were trying to achieve in the first place 
   I suppose :)

Regards,

--
Luca Morandini
GIS Consultant
   [EMAIL PROTECTED]
http://space.virgilio.it/kumora/index.html
--



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



RES: XSP in XSL

2003-09-19 Thread Jose Antonio Rosa dos Santos Junior
hmmm.. Maybe. Haven´t thought that way. Can i link two pipelines to do that instead?

I´m sending what i am trying to do:

stemap.xmap:
...
 

  
  
  

  
...

pagina-fnde2html.xsl:
...

...
 

SimpleDateFormat format = new SimpleDateFormat("dd/MM/");


format.format(new Date())

...

...

teste.xsp:


http://apache.org/xsp";

>

 Nheco nheco
 


new Date()

 



Jose Antonio


-Mensagem original-
De: Luca Morandini [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 19 de setembro de 2003 13:10
Para: [EMAIL PROTECTED]
Assunto: Re: XSP in XSL


Jose Antonio Rosa dos Santos Junior wrote:
> Hi
> 
> I´m trying to put some java code in my XSL file but it seems to be not working. 
> Every xsp tag i put in it is ignored, and the java code is viewed in the generated 
> HTML page.
> 
> I also made a separated logic sheet, but it only works in my XSP file. If i put it 
> in the XSL file it is ignored too.
> 
> Am i doing something wrong?
> 
> Jose Antonio

wait, XSP is a interpreted by a "generator", while XSL is used in a 
"transformer"... aren't you mixing the two concepts ?

Could you provide us with the relevant sitemap portion ?

Regards,

--
Luca Morandini
GIS Consultant
   [EMAIL PROTECTED]
http://space.virgilio.it/kumora/index.html
--



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



XSP in XSL

2003-09-19 Thread Jose Antonio Rosa dos Santos Junior
Hi

I´m trying to put some java code in my XSL file but it seems to be not working. Every 
xsp tag i put in it is ignored, and the java code is viewed in the generated HTML page.

I also made a separated logic sheet, but it only works in my XSP file. If i put it in 
the XSL file it is ignored too.

Am i doing something wrong?

Jose Antonio

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