In XMLUI, the metadata for each collection lives in a separate XML document. The XSLT needs to retrieve and output the title from each collection.
In XSLT 1.0, I do not believe that you can retrieve the titles from external documents and sort the titles in a single pass. <referenceSet rend="hierarchy" type="summaryList"> <head> <i18n:text catalogue="default"> xmlui.ArtifactBrowser.CommunityViewer.head_sub_communities </i18n:text> </head> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/549444/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/549402/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/707878/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/549448/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/707879/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/707880/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/707882/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/707476/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/707881/mets.xml"/> <reference repositoryID="10822" type="DSpace Community" url=" /metadata/handle/10822/707290/mets.xml"/> </referenceSet> Perhaps as a quick solution, you could add a JavaScript file to your community theme and apply the sort in JavaScript. This is not ideal, but it would be localized to your community. On Fri, Jul 24, 2015 at 7:17 PM, euler <esne...@seafdec.org.ph> wrote: > Dear All, > > I know that this has been asked before ( Ordering community& collection > listings > < > http://dspace.2283337.n4.nabble.com/Ordering-community-collection-listings-tp4662451.html > > > ). What I would like to know is if this is possible to apply to only > specific communities and collections. Based on the answers given from that > post, the suggestion is to modifiy the sql clause "ORDER BY" but this would > be applied to all communities and collections. Can this be done using just > xslt? > > Thanks in advance and best regards, > euler > > > > -- > View this message in context: > http://dspace.2283337.n4.nabble.com/Ordering-community-collection-listings-to-specific-community-or-collection-tp4678926.html > Sent from the DSpace - Tech mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > List Etiquette: > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA)
------------------------------------------------------------------------------
_______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette