Print

Print


Michele,

This has worked for defined item lists in our finding aids.

<xsl:template match="list[@type='deflist']">
        <table width="100%">
            <tr>
                <td width="5%"> </td>
                <td width="30%"> </td>
                <td width="65%"> </td>
            </tr>
            <xsl:apply-templates/>
        </table>
    </xsl:template>

   

    <xsl:template match="list[@type='deflist']/listhead">
        <tr>
            <td> </td>
            <td>
                <b>
                    <xsl:apply-templates select="head01"/>
                </b>
            </td>
            <td>
                <b>
                    <xsl:apply-templates select="head02"/>
                </b>
            </td>
        </tr>
    </xsl:template>

    <xsl:template match="defitem">
                <tr>
                    <td> </td>
                    <td valign="top">
                        <xsl:apply-templates select="label"/>
                    </td>
                    <td valign="top">
                        <xsl:apply-templates select="item"/>
                    </td>
                </tr>

    </xsl:template>

Caryn

--
Caryn Radick, Processing Archivist
Special Collections and University Archives
Rutgers University Libraries
169 College Avenue
New Brunswick, NJ  08901-1163
Phone: (732) 932-7006 x 374
Fax:   (732) 932-7012



Michele R Combs wrote:
> Anyone have code in their XSL for handling <list type="deflist"> that they'd be willing to share?  Ours doesn't have it and we need it; I could write it but if someone's already done it (and tested it!) that would save me some time.  Needs to include child elements <defitem> and <label>.
>
> Thanks --
>
> Michele
>
> (be green - don't print this email!)
> ~~~~~~~~~~~~~~~~~~
> Michele Combs
> Manuscripts Librarian
> Special Collections Research Center
> Syracuse University Libraries
> 222 Waverly Ave.
> Syracuse, NY  13244
> 315-443-9758
> [log in to unmask]
> ~~~~~~~~~~~~~~~~~~ 
>