<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:10.0pt;
        margin-left:.5in;
        mso-add-space:auto;
        line-height:115%;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        line-height:115%;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        line-height:115%;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:10.0pt;
        margin-left:.5in;
        mso-add-space:auto;
        line-height:115%;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Johanna,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">We had a similar problem at Duke with nested lists in <controlaccess>.  We decided just to flatten the hierarchy to get the data to import.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If you’re not concerned about preserving the hierarchy (indentation?) of your items and just want the data to import, I’ve attached some XSLT that will copy an entire EAD as is, but “un-nest” lists within <arrangement>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">It should output all <item> elements at the same level no matter how deeply they are nested.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Here’s the end result for your example:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><arrangement></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
         </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><list></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Series I. Biographical and personal</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Series II. Gwynne family</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Series III. Correspondence</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Subseries A. Personal</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Subseries B. Professional</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Series IV. Writings</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Subseries A. Articles</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Subseries B. Monographs
</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Subseries C. Pamphlets</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Series V. Elizabeth David Ltd.</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Series VI. Recipes and research</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Series VII. Artemis Cooper and Jill Norman</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Series VIII. Photographs and oversized</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Subseries A. Photographs
</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
            </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">Subseries B. Oversized</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></item></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
         </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></list></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><br>
      </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"></arrangement><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#000096"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If you have nested lists outside of arrangement, you’d need to modify the script to account for that.  I haven’t tested this extensively, so disclaimers as usual.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-Noah<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow",sans-serif;color:#404040">================<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow",sans-serif;color:#404040">Noah Huffman<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow",sans-serif;color:#404040">Archivist for Metadata, Systems, and Digital Records<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow",sans-serif;color:#404040">David M. Rubenstein Rare Book & Manuscript Library<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial Narrow",sans-serif;color:#404040">Duke University | 919-660-5982<o:p></o:p></span></p>
<p class="MsoNormal"><a href="http://library.duke.edu/rubenstein/"><span style="font-size:10.0pt;font-family:"Arial Narrow",sans-serif;color:#404040">http://library.duke.edu/rubenstein/</span></a><span style="font-size:10.0pt;font-family:"Arial Narrow",sans-serif;color:#404040">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org]
<b>On Behalf Of </b>Carll, Johanna<br>
<b>Sent:</b> Monday, February 29, 2016 12:16 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> [Archivesspace_Users_Group] Ingesting nested <list> elements<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We have over 5,000 <list> elements in our finding aids, many of them containing nested <list>s.  Since the AS data model only allows for simple ordered lists, we are finding that while our <list> elements with nested <list>s are ingesting,
 much of the data in the element is missing.  For example, when attempting to ingest the below <list> found within an <arrangement> tag, only the <item> elements in the final nested <list> ingest<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph"><a href="file:///C:\Users\jac811\Desktop\sch01172.xml"><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif;color:#990000">list</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">></span></a><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><<span style="color:#990000">item</span>>Series
 I. Biographical and personal<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span><<span style="color:#990000">item</span>>Series II. Gwynne family<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span></span><a href="file:///C:\Users\jac811\Desktop\sch01172.xml"><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif;color:#990000">item</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">></span></a><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">
 Series III. Correspondence</span><a href="file:///C:\Users\jac811\Desktop\sch01172.xml"><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif;color:#990000">list</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">></span></a><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><<span style="color:#990000">item</span>>Subseries
 A. Personal<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span><<span style="color:#990000">item</span>>Subseries B. Professional<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></</span><span style="color:#990000">list</span><span style="color:blue">></</span><span style="color:#990000">item</span><span style="color:blue">></span></span><a href="file:///C:\Users\jac811\Desktop\sch01172.xml"><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif;color:#990000">item</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">></span></a><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">
 Series IV. Writings</span><a href="file:///C:\Users\jac811\Desktop\sch01172.xml"><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif;color:#990000">list</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">></span></a><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><<span style="color:#990000">item</span>>Subseries
 A. Articles<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span><<span style="color:#990000">item</span>>Subseries B. Monographs
<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span><<span style="color:#990000">item</span>>Subseries C. Pamphlets<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></</span><span style="color:#990000">list</span><span style="color:blue">></</span><span style="color:#990000">item</span><span style="color:blue">></span><<span style="color:#990000">item</span>>
 Series V. Elizabeth David Ltd.<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span><<span style="color:#990000">item</span>> Series VI. Recipes and research<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span><<span style="color:#990000">item</span>>
 Series VII. Artemis Cooper and Jill Norman<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span></span><a href="file:///C:\Users\jac811\Desktop\sch01172.xml"><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif"><</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif;color:#990000">item</span><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">></span></a><span style="font-size:12.0pt;line-height:115%;font-family:"Times New Roman",serif">
 Series VIII. Photographs and oversized<b><span style="color:blue"><</span><span style="color:#990000">list</span><span style="color:blue">></span><<span style="color:#990000">item</span>>Subseries A. Photographs
<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></span><<span style="color:#990000">item</span>>Subseries B. Oversized<span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></</span><span style="color:#990000">list</span><span style="color:blue">></span></b><span style="color:blue"></</span><span style="color:#990000">item</span><span style="color:blue">></</span><span style="color:#990000">list</span><span style="color:blue">></</span><span style="color:#990000">arrangement</span><span style="color:blue">><o:p></o:p></span></span></p>
<p class="MsoNormal">Has anyone else encountered this issue?  If so, how have you addressed the problem?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Johanna Carll
</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Archivist and Metadata Specialist</span><br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Schlesinger Library</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Radcliffe Institute for Advanced Study</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Harvard University</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">10 Garden Street</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">Cambridge, MA 02138</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial",sans-serif">617-495-8524</span>
<br>
<a href="mailto:jcarll@radcliffe.harvard.edu"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">jcarll@radcliffe.harvard.edu</span></a>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>