Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Generic XML Tips : Concatenate to Build Source Field from Journal, Volume, Issue, Pages

    Created By: Joan Kolarik
    Created on: 2/08/2020



    Please send suggestions and improvements to joan.kolarik@weizmann.ac.il


    rule "source"
    when 
    exist "//*[local-name()='title']"
    then
    copy "concat(//*[local-name()='relatedItem']/*[local-name()='titleInfo']/*[local-name()='title'],', Vol ',//*[local-name()='relatedItem']/*[local-name()='part']/*[local-name()='detail'][@type='volume']/*[local-name()='number']/text(),'/',//*[local-name()='relatedItem']/*[local-name()='part']/*[local-name()='detail'][@type='issue']/*[local-name()='number']/text(),', pp ',//*[local-name()='relatedItem']/*[local-name()='part']/*[local-name()='detail'][@type='citation']/*[local-name()='caption']/text())" to "dc"."source"
    end


    Return to Contents Page for Generic XML Tips





    • Was this article helpful?
    //Feedback