Print

Print


   <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="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>

 

From: Encoded Archival Description List [mailto:[log in to unmask]] On Behalf Of Nathan Tallman
Sent: Wednesday, January 12, 2011 3:46 PM
To: [log in to unmask]
Subject: Definition List

 

Hi EADers,

 

I need to modify my stylesheet to display definition lists <list type="deflist">.  Does anyone have an existing snippet of XSLT they can share with me to get started?

 

Thanks!

Nathan Tallman