19 lines
		
	
	
		
			651 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			651 B
		
	
	
	
		
			XML
		
	
	
	
	
	
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 | 
						|
                              xmlns:k="http://www.opengis.net/kml/2.2">
 | 
						|
    <xsl:output method="xml" omit-xml-declaration="yes"
 | 
						|
                cdata-section-elements="k:description" indent="yes"/>
 | 
						|
    <xsl:strip-space elements="*"/>
 | 
						|
 | 
						|
    <xsl:template match="node()|@*">
 | 
						|
     <xsl:copy>
 | 
						|
       <xsl:apply-templates select="node()|@*"/>
 | 
						|
     </xsl:copy>
 | 
						|
    </xsl:template>
 | 
						|
 | 
						|
    <xsl:template match="k:MultiGeometry|k:LineString">
 | 
						|
        <xsl:apply-templates select='*'/>
 | 
						|
    </xsl:template>
 | 
						|
 | 
						|
    <xsl:template match="k:description|k:Snippet|k:Style"/>
 | 
						|
</xsl:stylesheet>
 |