Hi Jose,

in-line commenting.

On Fri, May 27, 2011 at 2:28 PM, Blanco, Jose <blancoj@umich.edu> wrote:
1.  I'm just experimenting with manakin and I thought if I made a change in the webapp area to a file like DIM-Handler.xsl I could see the change right away in the browser, but that does not seem to be the case.  I tried reloading the webapp via tomcat, but that does not work either.  Is there a way to see xmlui changes in the browser without having to rebuild everything.  In the JSP environment you can do this, and it's often very helpful.
XMLUI might also be weighing you down with its "annoying" caching. The changes happened, but a cached copy is being served instead of regenerating it from a bunch of XSL changes.

You can change: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/sitemap.xmap#L196 to default="noncaching" to disable caching all-together on your development machine.
Or, you could try a few recommendations from: http://permalink.gmane.org/gmane.comp.db.dspace.user/13141
The simplest trick is to append a junk parameter to the end of the url, like: ?some-random-text&more_random

2.   When I add ?XML to the url, I can see the DRI object which is great.  But when I look at some of the xsl commands I can't I can't make the connection with the DRI object and the xsl.  For example,

<xsl:variable name="data" select="./mets:dmdSec/mets:mdWrap/mets:xmlData/dim:dim"/>

I don't see this in the output of ?XML
1) Keep in mind that thats an XPath expression. So it involves traversing XML to find that piece of data.
2) You'll need to follow the ?XML or /DRI/ url to find the mets document behind it. 
An original URL: https://kb.osu.edu/dspace/DRI/handle/1811/263
METS document: https://kb.osu.edu/dspace/metadata/handle/1811/263/mets.xml

<mets:dmdSec GROUPID="group_dmd_0ID="dmd_1">
<dim:dim dspaceType="ITEM">
<dim:field element="creatormdschema="dc">Brønnum, Rikke</dim:field>
<dim:field element="creatormdschema="dc">Jørgensen, S.E.</dim:field>
<dim:field element="creatormdschema="dc">Mitsch, William J.</dim:field>
<dim:field element="datequalifier="accessionedmdschema="dc">2004-12-16T13:17:10Z</dim:field>
<dim:field element="datequalifier="availablemdschema="dc">2004-12-16T13:17:10Z</dim:field>
<dim:field element="datequalifier="issuedmdschema="dc">2004-12-16T13:17:10Z</dim:field>
<dim:field element="identifierqualifier="urimdschema="dc">http://hdl.handle.net/1811/263</dim:field>
<dim:field element="descriptionlanguage="enmdschema="dc">
The University Archives has determined that this item is of continuing value to OSU's history.
<dim:field element="formatqualifier="extentmdschema="dc">73837 bytes</dim:field>
<dim:field element="formatqualifier="extentmdschema="dc">73837 bytes</dim:field>
<dim:field element="formatqualifier="mimetypemdschema="dc">application/pdf</dim:field>
<dim:field element="formatqualifier="mimetypemdschema="dc">application/pdf</dim:field>
<dim:field element="languagemdschema="dc">English (United States)</dim:field>
<dim:field element="languagequalifier="isomdschema="dc">en_US</dim:field>
<dim:field element="relationqualifier="ispartofseriesmdschema="dc">
Annual report (Olentangy River Wetland Research Park);2000
<dim:field element="titlelanguage="enmdschema="dc">
Occurence and degradation of alachlor and nitrate in a created wetland in central Ohio
<dim:field element="typelanguage="enmdschema="dc">Technical Report</dim:field>
What am I not understanding?
That theres a long, steep learning curve associated with XMLUI. 

Peter Dietz

Thank you!

vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
DSpace-tech mailing list