mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Include cylinder description for imperial import
If the cylinder size seems to be in the form of ALxx, LPxx, or HPxx use that as cylinder description. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
48019a73d5
commit
205c893fc3
1 changed files with 5 additions and 0 deletions
|
@ -241,6 +241,11 @@
|
|||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="substring($size, 1, 2) = 'AL' or substring($size, 1, 2) = 'LP' or substring($size, 1, 2) = 'HP'">
|
||||
<xsl:attribute name="description">
|
||||
<xsl:value-of select="$size"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="$start != ''">
|
||||
<xsl:attribute name="start">
|
||||
<xsl:choose>
|
||||
|
|
Loading…
Reference in a new issue