Importing two different elements with the same name

I have exported a MODS file from the standalone version to import into Filemaker. I've created a style sheet to use during the import.
I want to import both the title of the citation and the title of the journal, but they are both called <titleInfo> <title> in the MODS file. Only the citation title will import. How do I get both to import?
Thanks
  • not sure what your question is - if you import the MODS file into Zotero, you'll notice that the journal title and article title import just fine.
    The Journal Title is under
    //relatedItem[@type="host"]/titleInfo/title

    and the article title under

    //mods/titleInfo/title

    We can't really help you with the xslt to transform that to a format readable by filemaker (or however else you're importing this), but Zotero's MODS export is entirely correct here.
  • Thank you, Adam! I wasn't including the relatedItem part in the style sheet. It's working now.

    I'll try to give a better explanation of what I'm doing: I exported 386 ProQuest documents as an .xml file. I want to import these into Filemaker, so I've created a style sheet.

    Now my question is, how do I get all of the authors to import into Filemaker? I've used this but only the first author has been imported:
    <COL>
    <DATA>
    <xsl:value-of select="mod:name/mod:namePart[@type='family']" />
    </DATA>
    </COL>
    <COL>
    <DATA>
    <xsl:value-of select="mod:name/mod:namePart[@type='given']" />
    </DATA>
    </COL>
  • sorry, you're probably better off asking xslt questions on stackoverflow or something along those lines
Sign In or Register to comment.