Damian, Not sure if this is what you're wanting, but the DRI XML document exposes the handle and the aspect properties. So, for example, from http://archie.kumc.edu/handle/2271/260?&XML you can test for <body>...<div rend="primary" n="item-view" id="aspect.artifactbrowser.ItemViewer.div.item-view">...</body> and <pageMeta>...<metadata element="focus" qualifier="object">hdl:2271/260</metadata>...</pageMeta
Jason -- >>> On 7/16/2009 at 11:02 AM, in message <edff51c2a197b14da448a26e32de06fd3bd038b...@iu-mssg-mbx09.ads.iu.edu>, "Sobieralski, Damian Michael" <[email protected]> wrote: > I updated the subject so it might catch the eye of those in the know. :) > > -----Original Message----- > From: Sobieralski, Damian Michael > Sent: Tuesday, July 14, 2009 4:55 PM > To: [email protected] > Subject: Grab URI in Theme/XSL > > I have an xml-ui theme working quite nicely. I received a request to add this > cosmetic box on the "View Item" page. I know the caveman way to do this could > be to use another theme with that costmetic item for URI's with /handle in > it. However, ideally, it seems to me that doing some sort of check in the > one theme would be the best approach and so as to not duplicate efforts. > > So my question is - does anyone know how to in a theme/XSL to detect the URI > so that I could somehow pull "/handle" out of it and thus test for it? > > Or.....if anyone has a better approach... :) > > As always, thanks in advance. > > - Damian > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

