service.hCard.xsl
1.55 KB
<?xml version="1.0" encoding="utf-8"?>
<!--
http://en.wikipedia.org/wiki/Hcard
http://microformats.org/code/hcard/creator
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="xml" encoding="utf-8" indent="yes" />
<xsl:template match="/">
<div id="hcard-Vorname-MittleNAme-Nachname" class="vcard">
<span class="fn n">
<span class="given-name">Vorname</span>
<span class="additional-name">MittleNAme</span>
<span class="family-name">Nachname</span>
</span>
<div class="org">Organisation</div>
<a class="email" href="mailto:mail@maild.e">mail@maild.e</a>
<div class="adr">
<div class="street-address">Strasse</div>
<span class="locality">OSnabrück</span>
<span class="region">NDS</span>
<span class="postal-code">49088</span>
<span class="country-name">Deutschland</span>
</div>
<div class="tel">phone</div>
<a class="url" href="aim:goim?screenname=aim">AIM</a>
<a class="url" href="ymsgr:sendIM?yim">YIM</a>
<a class="url" href="xmpp:jabber">Jabber</a>
<div class="tags"><a href="http://kitchen.technorati.com/contacts/tag/tag">tag</a> <a href="http://kitchen.technorati.com/contacts/tag/test">test</a> <a href="http://kitchen.technorati.com/contacts/tag/und">und</a> <a href="http://kitchen.technorati.com/contacts/tag/so">so</a> </div><p style="font-size:smaller;">This <a href="http://microformats.org/wiki/hcard">hCard</a> created with the <a href="http://microformats.org/code/hcard/creator">hCard creator</a>.</p>
</div>
</xsl:template>
</xsl:stylesheet>