Wasn't it paulp575 who wrote:
>On Dec 9, 10:49 pm, Mike Williams <[email protected]> wrote:
>>
>> You'll probably need to use different tags for the different types of
>>entry. At present you're using <location> for areas like "Colville
>>National Forest" and for the individual trails that it contains.
>
>I thought I had used individual 'location-id' for each entry.
>I've redone the file and ensured each location has a unique 'location-
>id', but maybe that is not sufficient???

I don't see how the id helps, unless your XSLT code has a list of
locations-ids that it treats differently from others
  <xsl:if location-id="DNR_Capitol_State_Forest">
    ...
  </xsl:if>

On further investigation, XSLT doesn't have an "else", so that probably
ends up being quite messy.

If you separate the <location>s into <area> and <trail> then you can
handle them differently more easily either in XSL or Javascript

  <xsl:for-each select="area">
    ...
  <xsl:for-each>
  <xsl:for-each select="trail">
    ...
  <xsl:for-each>


-- 
Mike Williams
http://econym.org.uk/gmap


--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to