inital commit - Durchstich
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#vcard td{
|
||||
border-bottom: 1px solid gray;
|
||||
border-right: 1px solid gray;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#vcard-proptype {
|
||||
color: GRAY;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:template match="vcard">
|
||||
<h1>
|
||||
<xsl:value-of select="../id" />
|
||||
</h1>
|
||||
<table id="vcard" cellspacing="7">
|
||||
<xsl:for-each select="property">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="@name" /> 
|
||||
<xsl:if test="count(type) > 0">
|
||||
<span id="vcard-proptype">(<xsl:for-each select="type">
|
||||
<xsl:value-of
|
||||
select="normalize-space(.)" /> 
|
||||
</xsl:for-each>)</span>
|
||||
</xsl:if>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="value" />
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:for-each select="formatted-property">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="@name" /> 
|
||||
<xsl:if test="count(type) > 0">
|
||||
<span id="vcard-proptype">(<xsl:for-each select="type">
|
||||
<xsl:value-of
|
||||
select="normalize-space(.)" /> 
|
||||
</xsl:for-each>)</span>
|
||||
</xsl:if>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:copy-of select="value" />
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
|
||||
</table>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
Reference in New Issue
Block a user