phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/skins/default/location_view.xsl, 1.3


From: nomail
Subject: [Phpgroupware-cvs] property/skins/default/location_view.xsl, 1.3
Date: Fri, 21 May 2004 14:03:05 -0000

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

date: 2004/04/23 21:01:29;  author: sigurdne;  state: Exp;  lines: +1 -1

Log Message:
no message
=====================================================================
<?xml version="1.0"?>   
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<xsl:output indent="yes"/>
<!-- $Id: location_view.xsl,v 1.3 2004/04/23 21:01:29 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/location_item" >
                                <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/extra_item" >
                                                        <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>
</xsl:stylesheet>




reply via email to

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