EPrints Technical Mailing List Archive
Message: #07237
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Using a pin as an HTML attribute in a phrase
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Using a pin as an HTML attribute in a phrase
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- Date: Wed, 14 Mar 2018 10:27:00 +0100
Hi, I wanted to pass an url to a phrase through a pin...$doc->appendChild( $repo->html_phrase('my/phrase/id", url => $repo->make_text($target) ) );
But I can't find a way to use it as an attribute in my phrase. <epp:phrase id="my/phrase/id"> <a href="<pin name='url'/>"> Go to <pin name="url"/> </a> </epp:phrase> does not works (as expected).But the {} form, used to insert field values as attributes doesn't work either (<a href="{url}">).
Do you know is there is a way to insert a pin as an attribute ? Maybe with a special syntax like href="{pin:url}" for example ? Or with the help of some code in Perl ? Thanks GF
- Follow-Ups:
- [EP-tech] Using a pin as an HTML attribute in a phrase
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- [EP-tech] Using a pin as an HTML attribute in a phrase
- References:
- [EP-tech] Using a pin as an HTML attribute in a phrase
- From: Gilles Fournié <gilles.fournie@cirad.fr>
- [EP-tech] Using a pin as an HTML attribute in a phrase
- Prev by Date: Re: [EP-tech] 'Doubling of divisions'
- Next by Date: [EP-tech] Is ORCID Support Advance plugin available ?
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):