EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07756
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] calculated phrase ref
- To: Rory McNicholl <Rory.McNicholl@london.ac.uk>, "Alan.Stiles via Eprints-tech" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] calculated phrase ref
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Thu, 28 Mar 2019 14:43:21 +0000
Pretty much exactly like that… Cheers Rory. I knew there’d be an example, I just couldn’t find one for looking! Thanks, Alan From: Rory McNicholl [mailto:Rory.McNicholl@london.ac.uk]
Like this? Rory Rory McNicholl Lead developer Digital Archives & Research Technologies CoSector, University of London Senate House Malet Street London WC1E 7HU t: +44 (0)20 7863 1344 The University of London is an exempt charity in England and Wales. From:
eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Alan.Stiles via Eprints-tech <eprints-tech@ecs.soton.ac.uk> Is it possible (and if so how) to pass a calculated value to the ref parameter of a phrase call in the citation file, so it will include a value as part of the phrase reference? e.g. I want to include something like <epc:phrase ref=”module_$code” /> so it will include phrases based labelled “module_a1”, “module_xyz4321” I know I could do an if test on the value for $code and select different phrases that way but I was trying to be clever / lazy and not have to update the citation definition for every new module that I add to a namedset. TIA, Alan -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority
in relation to its secondary activity of credit broking. |
- Follow-Ups:
- Re: [EP-tech] calculated phrase ref
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] calculated phrase ref
- References:
- [EP-tech] calculated phrase ref
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] calculated phrase ref
- From: Rory McNicholl <Rory.McNicholl@london.ac.uk>
- Re: [EP-tech] calculated phrase ref
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] calculated phrase ref
- Prev by Date: Re: [EP-tech] calculated phrase ref
- Next by Date: [EP-tech] Sysadmin Best Practices
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):