emacs mods template

Bruce D'Arcus <[email protected]>
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
OK, been working on the templates for emacs some more, along with my 
customized version of mods.  I really like this!

Here's a journal article.  Will probably post about it on my blog, 
along with other templates.

<?xml version="1.0" encoding="utf-8"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3">
   <mods ID="(>>>citekey<<<)">
     <name type="personal">
       <namePart type="given">(>>>givenname<<<)</namePart>
       <namePart type="family">(>>>familyname<<<)</namePart>
       <role>
	<roleTerm type="text">author</roleTerm>
       </role>
     </name>
     <titleInfo>
       <title>(>>>title<<<)</title>(>>>subtitle<<<)
     </titleInfo>
     <typeOfResource>text</typeOfResource>
     <originInfo>
       <issuance>continuing</issuance>
     </originInfo>
     <subject>
       (>>>keyword1<<<)(>>>keyword2<<<)(>>>keyword3<<<)(>>>geographic<<<)
     </subject>
     <relatedItem type="host">
       <titleInfo>
	<title>(>>>ctitle<<<)</title>
       </titleInfo>
       <originInfo>
	<dateIssued>(>>>year<<<)</dateIssued>
       </originInfo>
       <genre>journal</genre>
       <part>(>>>volume<<<)(>>>issue<<<)
	<extent unit="page">(>>>start<<<)(>>>end<<<)
	</extent>
       </part>
     </relatedItem>
     (>>>url<<<)
     <extension>
       <xnote xmlns="http://refdb.sourceforge.net/xnotes-ns">
	<note user="(>>>LOGIN_NAME<<<)" date="(>>>ISO_DATE<<<)">
	<p>(>>>POINT<<<)(>>>MARK<<<)</p>
	</note>
       </xnote>
     </extension>
     <recordInfo>
       <recordCreationDate 
encoding="w3cdtf">(>>>ISO_DATE<<<)</recordCreationDate>
       <recordIdentifier 
source="citekey">(>>>citekey<<<)</recordIdentifier>
     </recordInfo>
   </mods>
</modsCollection>
 >>>TEMPLATE-DEFINITION-SECTION<<<
("citekey" "Citation Key: ")
("title" "Title: ")
("subtitle"     "Subtitle: "
        "
         <subTitle>" "</subTitle>" "")
("givenname"     "Author Name-Given: ")
("familyname"     "Author Name-Family: ")
("ctitle"      "Journal Title: ")
("city"  "City: ")
("date" "Publication Date: ")
("year" "Year: ")
("volume" "Volume: "
        "
         <detail type=\"volume\"><number>" "</number></detail>" "")
("issue" "Issue: "
        "
         <detail type=\"issue\"><number>" "</number></detail>" "")
("start" "Start Page: "
        "
           <start>""</start>" "")
("end" "End Page: "
        "
           <end>""</end>" "")
("url" "URL: " "<location>
        <url dateLastAccessed=\"(>>>accessdate<<<)\">" "</url>
     </location>" "" expand)
("accessdate" "Access Date: ")
("keyword1"  "Keyword Topic 1: ""<topic>" "</topic>" "")
("keyword2"  "Keyword Topic 2: ""<topic>" "</topic>" "")
("keyword3"  "Keyword Topic 3: ""<topic>" "</topic>" "")
("geographic"  "Geographic: ""<geographic>" "</geographic>" "")



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.