Mercurial > repos > marcel > caddsuite_mac10_6
comparison CADDSuite-1.1/data/OpenBabel/space-groups.xsl @ 6:decca54699e3
Uploaded Version 1.1
author | marcel |
---|---|
date | Thu, 12 Jan 2012 11:07:03 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5:e30a41af9d2b | 6:decca54699e3 |
---|---|
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> |