Mercurial > repos > marcel > caddsuite_mac10_6
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CADDSuite-1.1/data/OpenBabel/space-groups.xsl Thu Jan 12 11:07:03 2012 -0500 @@ -0,0 +1,29 @@ +<xsl:stylesheet version = '1.0' + xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> +<xsl:output method="text"/> + +<xsl:template match="/"> + <xsl:apply-templates select="//group"/> +</xsl:template> + +<xsl:template match="group"> + <xsl:value-of select="@id"/> + <xsl:text> </xsl:text> + <xsl:value-of select="@Hall"/> + <xsl:text> </xsl:text> + <xsl:if test="@HMs"> + <xsl:value-of select="@HMs"/> + <xsl:text>,</xsl:text> + </xsl:if> + <xsl:value-of select="@HM"/> + <xsl:text> </xsl:text> + <xsl:apply-templates select="transform"/> + <xsl:text> </xsl:text> +</xsl:template> + +<xsl:template match="transform"> + <xsl:value-of select="."/> + <xsl:text> </xsl:text> +</xsl:template> + +</xsl:stylesheet>