I think you already answered this but just to be sure<div><br></div><div>untyped data like:</div><div><br></div><div><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:6px 10px;border:1px solid rgb(187,187,187);font-size:13px;font-family:'Droid Sans Mono',monospace;vertical-align:baseline;line-height:1.5;color:rgb(0,112,0);background-color:rgb(250,250,250);overflow:auto">
<ExtendedData> <br> <Data name="string"><br> <displayName>...</displayName> <!-- string --><br> <value>...</value> <!-- string --><br>
</Data>
</ExtendedData></pre></div><div class="gmail_extra">cannot be extracted, it must be typed data like:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><pre style="margin-top:1.5em;margin-bottom:1.5em;padding:6px 10px;border:1px solid rgb(187,187,187);font-size:13px;font-family:'Droid Sans Mono',monospace;vertical-align:baseline;line-height:1.5;color:rgb(0,112,0);background-color:rgb(250,250,250);overflow:auto">
<kml xmlns="<a href="http://www.opengis.net/kml/2.2">http://www.opengis.net/kml/2.2</a>">
<Document>
<name>ExtendedData+SchemaData</name>
<open>1</open>
<!-- Declare the type "TrailHeadType" with 3 fields -->
<strong><Schema name="TrailHeadType" id="TrailHeadTypeId"></strong>
<SimpleField type="string" name="TrailHeadName">
<displayName><![CDATA[<b>Trail Head Name</b>]]></displayName>
</SimpleField>
<SimpleField type="double" name="TrailLength">
<displayName><![CDATA[<i>Length in miles</i>]]></displayName>
</SimpleField>
<SimpleField type="int" name="ElevationGain">
<displayName><![CDATA[<i>Change in altitude</i>]]></displayName>
</SimpleField>
<strong></Schema> </strong>
<!-- This is analogous to adding three fields to a new element of type TrailHead:
<TrailHeadType>
<TrailHeadName>...</TrailHeadName>
<TrailLength>...</TrailLength>
<ElevationGain>...</ElevationGain>
</TrailHeadType><br>-->
<!-- Instantiate some Placemarks extended with TrailHeadType fields -->
<Placemark>
<name>Easy trail</name>
<ExtendedData>
<strong><SchemaData schemaUrl="#TrailHeadTypeId"> </strong>
<SimpleData name="TrailHeadName">Pi in the sky</SimpleData>
<SimpleData name="TrailLength">3.14159</SimpleData>
<SimpleData name="ElevationGain">10</SimpleData>
<strong></SchemaData> </strong>
</ExtendedData>
<Point>
<coordinates>-122.000,37.002</coordinates>
</Point>
</Placemark>
<Placemark>
<name>Difficult trail</name>
<ExtendedData>
<strong><SchemaData schemaUrl="#TrailHeadTypeId"> </strong>
<SimpleData name="TrailHeadName">Mount Everest</SimpleData>
<SimpleData name="TrailLength">347.45</SimpleData>
<SimpleData name="ElevationGain">10000</SimpleData>
<strong></SchemaData></strong>
</ExtendedData>
<Point>
<coordinates>-121.998,37.0078</coordinates>
</Point>
</Placemark>
</Document>
</kml></pre></div><div class="gmail_extra"><br><div class="gmail_quote"><br></div><div class="gmail_quote">On Fri, Nov 9, 2012 at 5:39 AM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">I read and display the features ok either from a KML or GML file, but<br>
can not extract the attributes.<br>
><br>
> I use<br>
><br>
> extractattribues: true<br>
<br>
</div>Hopefully that is actually extractAttributes:true (case matters)<br>
Not every KML has attributes that are extractable. If it has<br>
<Schema>...</Schema> tag in the document headers and <SchemaData> in the<br>
features, then, yes. However, if "attributes" are just table entries in<br>
description, the no.<br>
<br>
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards,<br><br>Christian Ledermann<br><br>Nairobi - Kenya<br>Mobile : +254 702978914<br><br><*)))>{<br><br>If you save the living environment, the biodiversity that we have left,<br>
you will also automatically save the physical environment, too. But If<br>you only save the physical environment, you will ultimately lose both.<br><br>1) Don’t drive species to extinction<br><br>2) Don’t destroy a habitat that species rely on.<br>
<br>3) Don’t change the climate in ways that will result in the above.<br><br>}<(((*><br>
</div>