view xsls/dump.xsls @ 834:1a6cb3e282fe

GeoIP: updated description of module variables (English). Documented missing variables: $geoip_city_continent_code, $geoip_area_code, $geoip_dma_code, $geoip_latitude, $geoip_longitude, and $geoip_region_name. Fixed description of the $geoip_region variable.
author Homutov Vladimir <vl@nginx.com>
date Wed, 06 Feb 2013 17:30:00 +0400
parents be54c443235a
children
line wrap: on
line source

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->

X:stylesheet {

X:output method="xml"
X:param indent-increment="'   '";

X:template noname(indent="'&#xA;'") = "*" {
        !{$indent}

        X:if "name()='xsl:template'" {
                !{$indent}
        }

        X:copy {
           X:copy-of "@*"
           !!( indent = "concat($indent, $indent-increment)" );
           X:if "./* " { !{$indent}  }
        }
}

 
X:template = "comment()|processing-instruction()" {
    X:copy;
}

<!--
X:template ="text()[normalize-space(.)='']" {}
-->

}