Skip to main content
1-Visitor
January 19, 2015
Question

xref to sibling?

  • January 19, 2015
  • 5 replies
  • 1783 views

Hi,


I am trying to modify a fosi to support an acronym tag reference.


I have one element <acronym> with two child elements <acroterm> and <acrodef>. <acrodef> takes an id attribute. <acroterm> takes an attribute refid of type IDREF. This tagging is used where the acronym is first defined.


Subsequently, if <acroterm> is used alone in any other element, such as <para> element, it is supposed to generate the original <acroterm>'s (content) and create a link reference back to its definition sibling where its refid equals the definition element's id. Is there a way to accomplish this using FOSI?


Any suggestions?

    5 replies

    1-Visitor
    January 19, 2015
    Hi Kim,
    This is the same as ordinary cross referencing. The ID fillvals into a savetext, the IDREF fillvals into a usetext.
    Please let me know any questions.
    Suzanne Napoleonwww.FOSIexpert.com"WYSIWYG is last-century technology!"
    kmccain1-VisitorAuthor
    1-Visitor
    January 20, 2015

    Suzanne,


    Thanks so much for your off-forum input. I've finally got this working so that the <acroterm> element creates a link back to its definition in the original <acronym> element by using the link category instead as you suggested. It doesn't generate the acronym term text, but that's OK since the text already exists in the file and we just need to go in and wrap it with an element to create the required link for the published PDF.


    Thanks again!

    1-Visitor
    January 20, 2015
    Hi Kim,
    Glad to help! However, I meant to share this with adepters as well. OK if I forward my last post about two e-i-cs and the Link category?
    Suzanne
    1-Visitor
    January 20, 2015
    FYI, Kim got this working.
    (I hought I clicked on Reply to All, but apparently not.)
    Suzanne

    ----- Forwarded Message -----
    kmccain1-VisitorAuthor
    1-Visitor
    January 20, 2015

    Forgot to mention that I also had to add <acroterm> as a link element in the .dcf file to get this working correctly.