passing sax events through transformer

2003-02-11 Thread Lionel Crine
Hello,

I'm trying to pass sax events through my transformer but nothing is happening.

here is my pattern :

map:match pattern=protected/request
	  map:generate type=request/
		  map:transform type=xslt src=demo/request.xsl/
		  map:transform type=My_transformer/ 		==It seems that transformer 
do nothing
		  map:serialize type=xml/
		/map:match

Should I write something specified into my transformer ?



NB : The pattern is working fine


map:match pattern=/index*
	  map:generate src=demo/{1}.xml/
	  map:transform type=My_transformer/
	  map:transform type=xslt src=demo/documents.xsl/
	  map:serialize type=html/
	/map:match

thanks in advance


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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



Re: passing sax events through transformer

2003-02-11 Thread Lionel Crine
It's working now

At 16:11 11/02/2003 +0100, you wrote:

Hello,

I'm trying to pass sax events through my transformer but nothing is happening.

here is my pattern :

map:match pattern=protected/request
  map:generate type=request/
  map:transform type=xslt src=demo/request.xsl/
  map:transform 
type=My_transformer/==It seems that transformer do nothing
  map:serialize type=xml/
/map:match

Should I write something specified into my transformer ?



NB : The pattern is working fine


map:match pattern=/index*
  map:generate src=demo/{1}.xml/
  map:transform type=My_transformer/
  map:transform type=xslt src=demo/documents.xsl/
  map:serialize type=html/
/map:match

thanks in advance


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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


-
Please check that your question  has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html

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