Hi John,
The request element in your page metadata is probably the best place to start
looking.
This query should help:
select="/dri:document/dri:meta/dri:pageMeta/dri:metada...@element='request']...@qualifier='URI']"
If someone is visiting http://machine/xmlui/123456789/12345, that’ll return
“123456789/12345”, for example.
It won’t return GET parameters that might be in the URI, but you can use the
‘queryString’ qualifier instead of the ‘URI’ qualifier to access those.
If you’re looking for DRI metadata, appending ?XML to the end of an address
while browsing (or &XML if you’re using GET stuff as well) should help, and
http://www.dspace.org/1_5_2Documentation/ch13.html#N15E41 might help as well.
Cheers,
Kim
--
Kim Shepherd
IRR Technical Specialist
ITS Systems & Development
The University of Waikato
New Zealand
DDI +64 7 838 4025
From: John Preston [mailto:[email protected]]
Sent: Friday, 12 June 2009 8:12 a.m.
To: [email protected]
Subject: [Dspace-tech] Adding page with xmlui header and footer
Can someone say how I can trap an arbitrary url, say
http://machine/xmlui/arbitraryhandle/* using the theme xslt code so that I can
create a page with the same header and footer as the regular interface, but
have the body as I need. I figure I need to override the <xsl:template
match="dri:document"> and add a if then for a particular url. But how do I
access the url?
John
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech