giacomo a écrit : > > Hi all > > I've commited a change to the sitemap.xsl that turns it now close to the > proposed view concept. As you can see in the commit message there are > the following enhancements: > > 1. you can use more that one label-value (label="content,link rdf") > separated by comma or blank. > > 2. the aggregate element can have a label attribute which acts > as on a generator (all part elements are collected) > > 3. part elements can have a label attribute. In this case only > those parts are collected which corresponds to the requested view. > > If you refer to sources via the cocoon:/ protocol the requested view > will be propagated. > > Sylvain, I hope you'll be able to include these changes into your > "interpreted sitemap" as well.
Nice enhancement, Giacomo. Views, along with resources are features that make the sitemap an oriented graph more than a tree. There is some provision for this in the TreeBuilder, which will also be useful for flow/statemaps which are more graphs than trees. I have not implemented views now (I'm late on the tree processor because of the Paris exhibition next week) and I will of course include these changes. Sylvain > I've updated both branches as I felt my tests have shown me all should > be well. > > BTW: debugging it was hell. > > Giacomo > -- Sylvain Wallez Anyware Technologies - http://www.anyware-tech.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]