Hi Aleksandar,

there are multiple approaches, I'll describe just one of them here. Look at
the homepage DRI [1] (input of the XSL transformation). Find the element
<referenceSet id="
aspect.artifactbrowser.CommunityBrowser.referenceSet.community-browser" type
="summaryList" rend="hierarchy" n="community-browser">
<reference repositoryID="10673" type="DSpace Community" url="
/metadata/handle/10673/1/mets.xml"/>
</referenceSet>

It includes a list of all the top-level communities. The url attribute in
each points to a separate mets.xml document. Process all the items using
<xsl:for-each> and access each mets.xml document using a document() call.
You can find a rough example of processing an external xml document here
[2]. From the METS document, you will need to extract the community name
and URL.

I hope that helps.


[1] http://demo.dspace.org/xmlui/DRI/
[2]
https://wiki.duraspace.org/display/DSPACE/Solr#Solr-QueryingSolrfromXMLUI


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to