P.S. The schema above have to be split in two sachems: one for KML and one for AddressDetails as it has its own name space. The KML schema should contain something like this
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://earth.google.com/kml/2.0" xmlns:tns="http:// earth.google.com/kml/2.0" xmlns="http://earth.google.com/kml/2.0" xmlns:xal="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" elementFormDefault="qualified"> <xs:import namespace="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" schemaLocation="address_details.xsd"/> .... <xs:element name="Placemark"> ... <xs:element ref="xal:AddressDetails" /> ... </xs:element> And the AddressDetails schema <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:tns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"> On 5 Sep., 16:32, Andi <[EMAIL PROTECTED]> wrote: > BTW: the solution was to add targetNamespace.. So if you replace the > first string in the schema above with > > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://earth.google.com/kml/2.0" xmlns:tns="http:// > earth.google.com/kml/2.0" xmlns="http://earth.google.com/kml/2.0"> > > it's work. > > On 5 Sep., 14:12, Andi <[EMAIL PROTECTED]> wrote: > > > Dear Marcelo, > > > thank you that you pointed my attention on the posting guidelines. I > > took a look at it and you are right, the code I included in my post > > was too long. I promise I'll try to short in in the future. > > > In the meantime I found the solution for my issue by myself. > > > I wish you a good recovery. > > Regards, > > Andrej > > > On 4 Sep., 17:26, marcelo <[EMAIL PROTECTED]> wrote: > > > > On Sep 4, 5:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > > wrote: > > > > > Has anybody any Idea where I can get the Google XML schema for its > > > > response? > > > > Yes, but all that scrolling is making me dizzy. > > > I'll post a link to it when I recover. > > > > In the meantime, I suggest you read the posting guidelinesfor this > > > group. > > > > -- > > > Marcelo -http://maps.forum.nu > > > -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
