On Thu, 2008-10-02 at 01:20 +0200, Florent André wrote: > Thank you for this answer Thorsten > > I will be more precise in the future. > > You ask me to give the xml file before .xsl. > > " > > Put a <map:serialize type="xml"/> here to see what goes in > > collection2html.xsl. > " > But I have a "problem" with <map:serialize> : If I put a <map:serialize> > before collection2html.xsl, the serialized xml will be transform with other > <map:match> (the stream is redirected by other map:generator).
I am talking about debugging. Meaning my suggestion is that you debug just the one match not the whole pipeline. General rule of thumb for debugging is keep it small to pin down the problem. You have <map:match pattern="*.xml/*/*/*/*"> So just request in your browser. The outcome should be xml and you can see what goes into the transformation. > So, in order to display the stream before transformation by > collection2html.xsl, I see this options : > 1 - reorder the sitemap in order to have the collection2html in the last > position -- I think it's a very bad solution > 2 - use <map:view> -- I try that in the module's subsitemap : the result in > web-browser is : no content > 3 - use a serializer that write a file on the file system -- What is the > serializer defining in Lenya ? I search him in editor's sitemap, but I > don't find it from now... > All of the above sounds way too much fuzz. Just add the serializer, request the match pattern and see what is the result. salu2 > > And, for the : > > > > Yeah, see above basic violation of the whole concept of the pipeline. > I guarantee you that I don't redo that ! > > have a good day > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]