Mercurial > repos > marcel > caddsuite_mac10_6
comparison CADDSuite-1.5/data/OpenBabel/space-groups.xsl @ 7:bfab27640f5e draft
CADDSuite version 1.5
author | Marcel Schumann <schumann.marcel@gmail.com> |
---|---|
date | Tue, 24 Jul 2012 11:13:59 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:decca54699e3 | 7:bfab27640f5e |
---|---|
1 <xsl:stylesheet version = '1.0' | |
2 xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> | |
3 <xsl:output method="text"/> | |
4 | |
5 <xsl:template match="/"> | |
6 <xsl:apply-templates select="//group"/> | |
7 </xsl:template> | |
8 | |
9 <xsl:template match="group"> | |
10 <xsl:value-of select="@id"/> | |
11 <xsl:text> </xsl:text> | |
12 <xsl:value-of select="@Hall"/> | |
13 <xsl:text> </xsl:text> | |
14 <xsl:if test="@HMs"> | |
15 <xsl:value-of select="@HMs"/> | |
16 <xsl:text>,</xsl:text> | |
17 </xsl:if> | |
18 <xsl:value-of select="@HM"/> | |
19 <xsl:text> </xsl:text> | |
20 <xsl:apply-templates select="transform"/> | |
21 <xsl:text> </xsl:text> | |
22 </xsl:template> | |
23 | |
24 <xsl:template match="transform"> | |
25 <xsl:value-of select="."/> | |
26 <xsl:text> </xsl:text> | |
27 </xsl:template> | |
28 | |
29 </xsl:stylesheet> |