Thanks John!

On Thu, Aug 25, 2011 at 5:34 AM, John Harrison <[log in to unmask]> wrote:
I assume you mean in HTML!?

First you needs this:

       <!-- ADDRESS -->
       <xsl:template match="address">
                       <xsl:apply-templates />

Note that the address tags are not accidental, HTML also has address

Then one of the following to display the lines of the address.

This will display inline (like a phonebook):

       <xsl:template match="addressline">
               <xsl:apply-templates />
               <xsl:text>, </xsl:text>

This will display in a block (like an envelope):

       <xsl:template match="addressline">
               <xsl:apply-templates />

Hope this helps,


             '.    ,'.         John Harrison
            '  `  '  '         University of Liverpool
 c h e s h i r e  |  3          e: [log in to unmask]
                 v             w:
             `-..;.'           t: 0151 7950550
               ..,     (c)

On Wed, 2011-08-24 at 13:28 -0400, Nathan Tallman wrote:
> Does anyone have any XSL code snippets that they'd be willing to share
> that styles addresses in an <address> tag to display nicely?
> Many thanks!
> Nathan Tallman
> American Jewish Archives