> >>>> 3. What files do what in xmlui? There is very little documentation as > >>>> far as > >>>> i can tell. How dri2xhtml/ and dri2xhtml.xsl included in the theme? > >>> > >>> look at xml:include directives on top of your xsl theme file. > >>> I suggest you to have a look at w3cschool tutorials about xsl, xslt, > >>> xpath and xquery languages. > >>> http://www.w3schools.com/ --SNIP-- sorry for the wrong name of the xsl directive.
> So, say i build a self-comtained theme with it's own copy of dri2xhtml.xsl > and just drop it into /themes directory after update. Any hidden dangers in > this appoach? > I don't think you need to have a custom copy of dri2xhtml.xsl you just have to find which templates you have to modify into the original dri2xhtml.xsl and then simply override them into your theme xsl or into an external xsl file that have to be imported. >From my experience i've learned that xsl templates and rules are interpreded in this way: your_theme.xsl --> imported_files.xsl if in your_theme.xsl dspace find a template and then parsing imported xsl find another template with the same name, the one in your_them.xsl will be used. If the customization your are implementing have to be used in different themes you could find useful writing an external file (i.e. remove_advanced_search.xsl) and import it in your theme like this <xsl:import href="../dri2xhtml.xsl"/> <xsl:import href="../remove_advanced_search.xsl"/> in this way you'll be able to build a "library" of xsl files that can accomplish specific tasks. Valerio ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

