Remenber that XSP is a *generator* - you could use the XML files as a source of query spec.. and then generate the query usiung ESQL inside your XSP page
-OR- You could switch to the preferred way of doing things which is to use JXTemplateGenerator, followed by an SQLTransformer. If your XML query files are already in some "strange" format; then run them through a secomdary pipeline, in which you transform them to a format that can be used as a source for the JXTemplateGenerator pipeline (cocoon:/) My older Cocoon projects were written in XSP, but the combination of appropriayte pipelines matches and the "lighter" generators and transformers results in more cleanly built (and more maintainable apps). Derek >>> [EMAIL PROTECTED] 2004/07/06 11:02:09 AM >>> Hi! Thanks for your answer. I have information about sql requests stored in a XML file. I'd like my XSP to read them and generate the requests Is it possible by using a XSP file as a serializer? Thank you. Le 6 juil. 04, à 10:44, Derek Hohls a écrit : > Matt > > Maybe you could define what you mean by "manage data:; > Cocoon is all about data management... but if you are > more specific, the list can make better suggestions as > to what methods you could use. > >>>> [EMAIL PROTECTED] 2004/07/06 10:34:42 AM >>> > Hello! > > Is it possible to use a xsp file as a serializer? > The aim is to manage data from a xml file > without resorting to the "util" logicsheet > > I tried to do it this way : > > <map:match pattern="java/query_info"> > <map:generate src="java/requetes.xml" /> > <map:serialize src="java/req.xsp"/> > </map:match> > > but it gave no results. > > Any clue would be heartily welcome! > Thanks > > Matt. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > > --------------------------------------------------------------------- > 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] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]