[xsl] Re: xsl-list Digest 20 Jul 2005 05:10:00 -0000 Issue 482

Subject: [xsl] Re: xsl-list Digest 20 Jul 2005 05:10:00 -0000 Issue 482
From: cookie king <cookieking@xxxxxxxxxxx>
Date: Wed, 20 Jul 2005 20:49:47 -0400
good day group,

I am having a problem with some templates. i want to create a template that can be used at multiple node levels. the sample file below uses the node "line" at mulltiple leves. I do not want to write 3 templates to get them to display. i just want a line break or <br /> after each line node and do it with one template.

thanks cookie
sample.xml

<root>
<row>
   <name/>
   <address>
           <line></line>
           <line></line>
           <line></line>
           <url></url>
           <email></email>
   </address>
   <phones>
       <phone>
           <line></line>
           <line></line>
       </phone>
       <fax>
           <line></line>
           <line></line>
       </fax>
</row>
</root>

Current Thread