Forum How do I...?

Internal link using XML attributes

juacochero
Hi there!
I want my PDF to have internal links to the references at the end of the file.

For example, my XML is:
<xref ref-type="bibr" rid="ref1name">Author name </xref>


At the end of my PDF I have the info about each author, tagged as this:
<ref id="ref1name"> info about the author </ref>


And my CSS:
xref[ref-type="bibr"] {
	content:target-content(rid);
}


This does not seem to create the proper links. Any ideas how to do this?
Thanks in advance!
mikeday
As in clickable links? This will require using the prince-link property:
xref[ref-type="bibr"] {
    prince-link: attr(rid, idref)
}
juacochero
Exactly just like that!!!
Thanks again Mike!!!!
jim_albright
Thanks for this feature!!!

Jim Albright
Wycliffe Bible Translators