Thank you for all the suggestions. I'm going to try to put the html in the static dir and see if it works.
-Jose From: Robby Pelssers [mailto:[email protected]] Sent: Monday, November 14, 2011 3:08 PM To: [email protected] Subject: RE: outputing html Yep. That would also be possible. Actually, if you tell us a bit more how and where the files are stored (file repository, database, ..) we can give some extra guidance or tips and tricks. Just mentioning this because the sample I gave would assume the html files are part of your webapp and stored below the COB-INF folder of that cocoon block. That would not be really advisable of course. Robby From: Jasha Joachimsthal [mailto:[email protected]] Sent: Monday, November 14, 2011 9:02 PM To: [email protected] Subject: Re: outputing html If the html is not well formed (no valid xml) and you don't need to transform it, you can also do <map:match pattern="somepattern"> <!-- e.g. "*.html" --> <map:read src="somePath"/> <!-- e.g. 'static/html/{1}.html' --> </map:match> On 14 November 2011 20:57, Robby Pelssers <[email protected]<mailto:[email protected]>> wrote: <map:match pattern="somepattern"> <!-- e.g. '*.html' <map:generate src="somePath"/> <!-- e.g. 'static/html/{1}.html' <map:serialize type="html"/> <-- or xhtml--> </map:match> Kind regards, Robby -----Original Message----- From: Blanco, Jose [mailto:[email protected]<mailto:[email protected]>] Sent: Monday, November 14, 2011 8:55 PM To: [email protected]<mailto:[email protected]> Subject: outputing html I think this is a very simple question. I have an html page I would like cocoon to output. So I'm thinking all I have to do is point to the location of the html page and have it serialize an html page out, but I'm not sure of the syntax to do this. There is no xslt involved. Any suggestions? Thank you! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected]<mailto:[email protected]> For additional commands, e-mail: [email protected]<mailto:[email protected]> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected]<mailto:[email protected]> For additional commands, e-mail: [email protected]<mailto:[email protected]>
