Hi I have in mind is fairly close to your last proposal.
Exactly i want to save the path of links that the user of my site web do and i want to insert a new xml label in my navigation.xml once the user to click over a link of my menu..... do you understand me? Thanks again. Best regards ----- Original Message ----- From: "Antonio Gallardo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 14, 2004 11:11 AM Subject: Re: To make XML on the fly > Elvira Nieto Carretero dijo: > > Hello again > > > > If a pipeline basic is compose by > > > > <map:pipeline> > > <map:match pattern="*"> > > <map:generate src="my_xml.xml"/> > > <map:transform src="my_xsl.xsl"/> > > <map:serialize type="html"/> > > </map:match> > > > > how can i to apply a transform (my_xsl.xsl) to xml on the fly? > > Hi: > > Can you elaborate more what you have in mind? Because, AFAIK, all the > cocoon tranformations are on the fly. :-D > > > That is, can i make a xml structure in memory and then to apply it a last > > transformer my_xsl.xsl? > > The generator job is to emit SAX events that are consumed by a > transformer. The tranformer can be of the default type XSLT. In this way, > it can be interpreted as "done in memory" or "on the fly". And this is > what Cocoon is all about. > > Another answer to the question can be: > > You can also point to another pipeline to generate the XML source. In that > way it is called a "dynamic" generated XML file. > > Is that what you have in mind? If so, see for the "cocoon:" protocol: > > http://wiki.cocoondev.org/Wiki.jsp?page=CocoonProtocolExample > > Best Regards, > > Antonio Gallardo