Re: [Dspace-tech] Mapping page elements - stylesheets in XMLUI?
Hi, just a quick tip, first of all when you have to deal with templates defined in some of the system xslt files like structural.xslt don't modify it but copy it inside of your theme xslt. This kind of override is a good practice because it simplifies platform upgrade procedures: just backup your custom themes folders and upgrade from vanilla sources, avoiding the need to hunt/track down all changes you have done. About getting properties about your bistreams/items you could try exporting an item with org.dspace.app.mets.METSExport and see which metadata it has. i hope this could help. Valerio Minetti On Tue, Apr 1, 2008 at 8:00 PM, Mark H. Wood [EMAIL PROTECTED] wrote: For example, if I need to add a column to the table of bitstreams in an item summary or detail view, this part of the page seems to be built near the bottom of dri2xhtml/DS-METS-1.0-DIM.xsl. Is there any shortcut around starting in dri2xhtml/structural.xsl and pretending to be an XSLT processor until the affected template is found? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Mapping page elements - stylesheets in XMLUI?
Is there any sort of guide as to where elements of the XMLUI come from in the stock theme library? For example, if I need to add a column to the table of bitstreams in an item summary or detail view, this part of the page seems to be built near the bottom of dri2xhtml/DS-METS-1.0-DIM.xsl. Is there any shortcut around starting in dri2xhtml/structural.xsl and pretending to be an XSLT processor until the affected template is found? -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is intuitive he means the exact opposite. pgp4fHMt5gOeb.pgp Description: PGP signature - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Mapping page elements - stylesheets in XMLUI?
On Tue, Apr 1, 2008 at 1:00 PM, Mark H. Wood [EMAIL PROTECTED] wrote: Is there any sort of guide as to where elements of the XMLUI come from in the stock theme library? Not really, no, but I'd be open to helping build one! For example, if I need to add a column to the table of bitstreams in an item summary or detail view, this part of the page seems to be built near the bottom of dri2xhtml/DS-METS-1.0-DIM.xsl. Is there any shortcut around starting in dri2xhtml/structural.xsl and pretending to be an XSLT processor until the affected template is found? What I do is hunt up class and id attribute values that I see in the output. This can be something of a black art, because some such values are cobbled together in the relevant Aspect, but it does often help. Dorothea -- Dorothea Salo [EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech