[OSM-dev] [RFC] Add bounding box information to OSM files.

Robert Hart Robert.Hart at BuroHappold.com
Mon Sep 18 10:03:47 BST 2006


> Try moving it all inside the first template:
> 
> <xsl:template match="/rules">     
>  <!-- put it here -->
> </xsl:template>

This was the first thing I tried. Unfortunately it then fails later when the
variables are used for something else... would appear they only have scope
within the node they're defined in.... stupid.

> Alternatively invert it.  So that you have:
>
> <xsl:variable ...>
>  <xsl:choose>
>  ...
> </xsl:variable>
>
> although this means that the conditions will be repeated for each of
bllat, bllon, trlat,  
> trlon which is ugly.


Will give this a try later. 

Rob



This message has been scanned for viruses by MailControl - www.mailcontrol.com




More information about the dev mailing list