aaronblanchard / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

Can Python access the schemaUrl attribute of SchemaData element? #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This may be a newbie mistake, but I can't figure out how to access the 
schemaUrl attribute of a 
SchemaData element in an ExtendedData element.  

Calling dir() on a SchemaData object yields:

['IsA', 'SWIGSharedPtrUpcast', 'Type', '__class__', '__del__', '__delattr__', 
'__dict__', '__doc__', 
'__getattr__', '__getattribute__', '__hash__', '__init__', '__module__', 
'__new__', '__reduce__', 
'__reduce_ex__', '__repr__', '__setattr__', '__str__', '__swig_destroy__', 
'__swig_getmethods__', 
'__swig_setmethods__', '__weakref__', '_s', 'add_simpledata', 'clear_id', 
'clear_targetid', 'get_id', 
'get_simpledata_array_at', 'get_simpledata_array_size', 'get_targetid', 
'has_id', 'has_targetid', 
'set_id', 'set_targetid', 'this']

... none of that looks like what I want.  Is this not implemented?  Or is there 
a more general 
method of accessing attributes?  Or am I just being dense?

Thanks!

Original issue reported on code.google.com by sui6...@gmail.com on 9 Dec 2009 at 11:39

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r722.

Original comment by kml.mash...@gmail.com on 10 Dec 2009 at 6:49

GoogleCodeExporter commented 9 years ago
Our bad, you weren't being dense. Fixed in trunk.

Original comment by kml.mash...@gmail.com on 10 Dec 2009 at 6:52

GoogleCodeExporter commented 9 years ago
Thanks for the quick response!

Original comment by sui6...@gmail.com on 10 Dec 2009 at 6:59