person.xsl (Person-Objekt, 4.Schritt)

"Roger Fischer" <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general.german
Message-ID <[email protected]>
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../xsl/master.xsl"/>
<xsl:output method="html" encoding="iso-8859-1" indent="no"
doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN"/>

<xsl:include href="../xsl/docbook/html/docbook.xsl" />
<xsl:include href="../xsl/docbook/common/common.xsl" />

<xsl:include href="../xsl/top_row_main_navigation.xsl" />
<xsl:include href="../xsl/left_column_navigation.xsl" />
<xsl:include href="../xsl/right_column_syndication.xsl" />
<xsl:include href="../xsl/footer.xsl" />



<xsl:template name="middle_column_main_content">

<td align="left" valign="top">
   	<table width="501" border="0" cellspacing="0" cellpadding="0">
	    <tr>
          <td></td>
        </tr>
	</table>
      <xsl:for-each select="$thisDocument/Person[string-length(surname) &gt;
0]">
        <!-- Content -->
        <table width="501" cellpadding="1" cellspacing="0" border="0">
			<tr>
          		<td align="center" colspan="2">
					<br/>
                </td>
            </tr>

            <tr>
                <td valign="top" align="left" colspan="2">
				<xsl:if test="string-length(honorific) &gt; 0">
				 <xsl:value-of select="honorific"/><xsl:text> </xsl:text>
				</xsl:if>
                    <xsl:apply-templates select="firstname"/><xsl:text>
</xsl:text><xsl:apply-templates select="surname"/>
                   <br/></td>
             </tr>
<xsl:if test="string-length(project/jobtitle) &gt; 0">
			<tr>
            	<td align="left" colspan="2">
                    <xsl:apply-templates select="project/jobtitle"/>
				 </td>
			</tr>
</xsl:if>
		<xsl:if test="string-length(affiliation/address/email) &gt; 0">
			<tr>
            	<td align="left" colspan="2">
                    <xsl:text>Büro: </xsl:text>
                    <a
href="mailto:{affiliation/address/email}"><xsl:apply-templates
select="affiliation/address/email"/></a>
				 </td>
			</tr>
		</xsl:if>

		<xsl:if test="string-length(address/email) &gt; 0">
			<tr>
            	<td align="left" colspan="2">
                   <xsl:text>Privat: </xsl:text>
                   <a href="mailto:{address/email}"><xsl:apply-templates
select="address/email"/></a>
				 </td>
			</tr>
		</xsl:if>

		<xsl:if test="string-length(remark) &gt; 0">
			<tr>
            	<td align="left" colspan="2">
                    <xsl:value-of select="remark"/>
				 </td>
			</tr>
		</xsl:if>
			<tr>
            	<td align="left" colspan="2">
				    <br/>
                    <img src="/images/line_punkt_quer501.gif" width="501"
height="1" border="0"/>
					<br/>
				 </td>
			</tr>
		</table>
     </xsl:for-each>
</td>
</xsl:template>

<xsl:template name="navigation_service_row">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
    	<tr>
        	<td>
				<img src="/images/links.gif" width="20" height="20" border="0"/>
				<img src="/images/toc.gif" width="20" height="20" border="0"/>
				<img src="/images/rechts.gif" width="20" height="20" border="0"/>
				<img src="/images/rand.gif" width="20" height="20" border="0"/>
			</td>
			<td align="right">
				<img src="/images/rand.gif" width="20" height="20" border="0"/>
				<img src="/images/font_big.gif"  width="20" height="20" border="0"/>
				<img src="/images/font_small.gif"  width="20" height="20" border="0"/>
				<img src="/images/rand.gif" width="20" height="20" border="0"/>
				<img src="/images/printer.gif"  width="20" height="20" border="0"/>
			</td>
		</tr>
	</table>
</xsl:template>

</xsl:stylesheet>





--
roger fischer | bitflux GmbH | schöneggstrasse 5 | ch-8004 zürich
tel +41 1 240 56 72 | mobil +41 78 607 75 06 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected]

OSCOM - Open Source Content Management
http://www.oscom.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.