Mercurial > repos > marcel > caddsuite_linux_x86_64
diff CADDSuite/data/OpenBabel/space-groups.xsl @ 0:bac3c274238f
Migrated tool version 0.93 from old tool shed archive to new tool shed repository
author | marcel |
---|---|
date | Tue, 07 Jun 2011 16:43:30 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CADDSuite/data/OpenBabel/space-groups.xsl Tue Jun 07 16:43:30 2011 -0400 @@ -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>