mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Import DC model from SDE file
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
		
							parent
							
								
									72f59d54cb
								
							
						
					
					
						commit
						f798859178
					
				
					 1 changed files with 10 additions and 4 deletions
				
			
		| 
						 | 
					@ -4,10 +4,16 @@
 | 
				
			||||||
  <xsl:output method="xml" indent="yes" encoding="ASCII"/>
 | 
					  <xsl:output method="xml" indent="yes" encoding="ASCII"/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <xsl:template match="/">
 | 
					  <xsl:template match="/">
 | 
				
			||||||
 | 
					    <divelog program="subsurface-import" version="2">
 | 
				
			||||||
      <dives>
 | 
					      <dives>
 | 
				
			||||||
      <program name="subsurface-import" version="1"/>
 | 
					        <divecomputer>
 | 
				
			||||||
 | 
					          <xsl:attribute name="model">
 | 
				
			||||||
 | 
					            <xsl:value-of select="concat('Suunto ', /SUUNTO/MSG/DEVICEMODEL)" />
 | 
				
			||||||
 | 
					          </xsl:attribute>
 | 
				
			||||||
 | 
					        </divecomputer>
 | 
				
			||||||
        <xsl:apply-templates select="/SUUNTO/MSG"/>
 | 
					        <xsl:apply-templates select="/SUUNTO/MSG"/>
 | 
				
			||||||
      </dives>
 | 
					      </dives>
 | 
				
			||||||
 | 
					    </divelog>
 | 
				
			||||||
  </xsl:template>
 | 
					  </xsl:template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <xsl:template match="MSG">
 | 
					  <xsl:template match="MSG">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue