Thanks a lot Michelle. I think you've helped me out before! >>> [log in to unmask] 06/06/06 9:45 AM >>> > [log in to unmask] 6/6/2006 9:31 AM >>> > Hi, > > Would anyone be willing to share their xml encoding for an illustrative > image on a finding aid" title page" (using <extptr> rather than <dao>) and > the corresponding part of their xsl stylesheet? Hi Stephanie -- We've put images in some of our finding aids in the bioghist section, but the XML and XSLT should be pretty much the same wherever you choose to put it. Note that the DTD doesn't provide for information like how the photo is aligned. Different people have chosen to do it different ways -- we chose to use the ALTRENDER attribute. I'd suggest using only the actual file name in the XML document and adding any necessary path information in the XSLT processing; that way if you ever have to move your graphics you can change the syle sheet and re-run the XML->HTML transformation which is far easier than going into every XML document and changing every graphic element. Here's the XML: ************************* <bioghist encodinganalog="545"> <head>Biographical History</head> <p><emph render="bold">FRANZ WAXMAN 1906-1967</emph></p> <p>A Biographical Memoir by John W. Waxman</p> <p><extptr xpointer="waxman.jpg" show="embed" actuate="onload" altrender="right" title="Last portrait of Franz Waxman, taken by Boris Goldenberg in 1965, for the premiere of The Song of Terezín at the Cincinnati May Festival" role="image/jpg"/>[Photo at right: Last portrait of Franz Waxman, taken by Boris Goldenberg in 1965, for the premiere of The Song of Terezín at the Cincinnati May Festival.]</p> <p>Franz Waxman led a variety of musical lives as composer, conductor and impresario... ************************* and here's the XSLT that handles it: ************************* <xsl:template match="extptr"> <xsl:choose> <xsl:when test="self::extptr[@show='embed']"> <img src="{@xpointer}" alt="{@title}" align="{@altrender}"/> </xsl:when> <xsl:otherwise> <a href="{@xpointer}">"{@title}"</a> </xsl:otherwise> </xsl:choose> </xsl:template> ************************* Hope this helps! Michele -=--=--=--=--=--=--=--=--=--=--=--=--=--=- Michele Rothenberger Special Collections Research Center Syracuse University Library 222 Waverly Avenue Syracuse, NY 13244 (315) 443-2697 -=--=--=--=--=--=--=--=--=--=--=--=--=--=-