phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/templates/default/location_view.xsl, 1.2


From: nomail
Subject: [Phpgroupware-cvs] property/templates/default/location_view.xsl, 1.2
Date: Wed, 2 Jun 2004 21:10:20 +0200

Update of /property/templates/default
Added Files:
        Branch: 
          location_view.xsl

date: 2004/06/02 19:10:20;  author: sigurdne;  state: Exp;  lines: +30 -0

Log Message:
no message
=====================================================================
<!-- $Id: location_view.xsl,v 1.2 2004/06/02 19:10:20 sigurdne Exp $ -->

        <xsl:template name="location_view">
                <xsl:apply-templates select="location_data"/>
        </xsl:template>

        <xsl:template match="location_data">
                        <xsl:for-each select="location" >
                                <tr>
                                        <td class="th_text" width="{with}" 
align="left">
                                                <xsl:value-of select="name"/>   
                                
                                        </td>
                                        <td align="left">
                                                <xsl:choose>
                                                        <xsl:when 
test="input_type !='hidden'">
                                                                <xsl:value-of 
select="value"/>                                  
                                                        </xsl:when>
                                                </xsl:choose>
                                                <xsl:for-each select="extra" >
                                                        <xsl:choose>
                                                                <xsl:when 
test="input_type !='hidden'">
                                                                        
<xsl:text> </xsl:text>
                                                                        
<xsl:value-of select="value"/>                                  
                                                                </xsl:when>
                                                        </xsl:choose>
                                                </xsl:for-each>
                                        </td>
                                </tr>
                        </xsl:for-each>
        </xsl:template>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]