uva-happymapper 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. data/README.md +528 -0
  2. data/TODO +0 -0
  3. data/lib/happymapper.rb +617 -0
  4. data/lib/happymapper/attribute.rb +3 -0
  5. data/lib/happymapper/element.rb +3 -0
  6. data/lib/happymapper/item.rb +250 -0
  7. data/lib/happymapper/text_node.rb +3 -0
  8. data/spec/fixtures/address.xml +8 -0
  9. data/spec/fixtures/ambigous_items.xml +22 -0
  10. data/spec/fixtures/analytics.xml +61 -0
  11. data/spec/fixtures/analytics_profile.xml +127 -0
  12. data/spec/fixtures/atom.xml +19 -0
  13. data/spec/fixtures/commit.xml +52 -0
  14. data/spec/fixtures/current_weather.xml +89 -0
  15. data/spec/fixtures/dictionary.xml +20 -0
  16. data/spec/fixtures/family_tree.xml +21 -0
  17. data/spec/fixtures/inagy.xml +86 -0
  18. data/spec/fixtures/lastfm.xml +355 -0
  19. data/spec/fixtures/multiple_namespaces.xml +170 -0
  20. data/spec/fixtures/multiple_primitives.xml +5 -0
  21. data/spec/fixtures/pita.xml +133 -0
  22. data/spec/fixtures/posts.xml +23 -0
  23. data/spec/fixtures/product_default_namespace.xml +17 -0
  24. data/spec/fixtures/product_no_namespace.xml +10 -0
  25. data/spec/fixtures/product_single_namespace.xml +10 -0
  26. data/spec/fixtures/quarters.xml +19 -0
  27. data/spec/fixtures/radar.xml +21 -0
  28. data/spec/fixtures/statuses.xml +422 -0
  29. data/spec/fixtures/subclass_namespace.xml +50 -0
  30. data/spec/happymapper_attribute_spec.rb +21 -0
  31. data/spec/happymapper_element_spec.rb +21 -0
  32. data/spec/happymapper_item_spec.rb +115 -0
  33. data/spec/happymapper_spec.rb +968 -0
  34. data/spec/happymapper_text_node_spec.rb +21 -0
  35. data/spec/happymapper_to_xml_namespaces_spec.rb +196 -0
  36. data/spec/happymapper_to_xml_spec.rb +196 -0
  37. data/spec/ignay_spec.rb +95 -0
  38. data/spec/spec_helper.rb +7 -0
  39. data/spec/xpath_spec.rb +88 -0
  40. metadata +118 -0
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
3
+ <id>tag:www.example.com,2005:/tv_shows</id>
4
+ <link rel="alternate" type="text/html" href="http://www.example.com"/>
5
+ <link rel="self" type="application/atom+xml" href="http://www.example.com/tv_shows.atom"/>
6
+ <title>TV Shows</title>
7
+ <updated>2011-07-08T13:47:01Z</updated>
8
+ <entry>
9
+ <id>tag:www.example.com,2005:TvShow/17</id>
10
+ <published>2011-07-08T13:47:01Z</published>
11
+ <updated>2011-07-08T13:47:01Z</updated>
12
+ <link rel="alternate" type="text/html" href="http://www.example.com/sources/channel-twenty-seven/tv_shows/name-goes-here.atom"/>
13
+ <title>Name goes here</title>
14
+ <content type="html">Name goes here (0 episodes)</content>
15
+ <author>
16
+ <name>Source URL goes here</name>
17
+ </author>
18
+ </entry>
19
+ </feed>
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <commit>
3
+ <removed type="array">
4
+ <removed>
5
+ <filename>commands.rb</filename>
6
+ </removed>
7
+ <removed>
8
+ <filename>helpers.rb</filename>
9
+ </removed>
10
+ </removed>
11
+ <added type="array">
12
+ <added>
13
+ <filename>commands/commands.rb</filename>
14
+ </added>
15
+ <added>
16
+ <filename>commands/helpers.rb</filename>
17
+ </added>
18
+ </added>
19
+ <message>move commands.rb and helpers.rb into commands/ dir</message>
20
+ <modified type="array">
21
+ <modified>
22
+ <diff>@@ -56,7 +56,7 @@ module GitHub
23
+ end
24
+
25
+ def load(file)
26
+ - file[0] == ?/ ? super : super(BasePath + "/#{file}")
27
+ + file[0] == ?/ ? super : super(BasePath + "/commands/#{file}")
28
+ end
29
+
30
+ def debug(*messages)</diff>
31
+ <filename>lib/github.rb</filename>
32
+ </modified>
33
+ </modified>
34
+ <parents type="array">
35
+ <parent>
36
+ <id>d462d2a2e60438ded3dd9e8e6593ca4146c5a0ba</id>
37
+ </parent>
38
+ </parents>
39
+ <url>http://github.com/defunkt/github-gem/commit/c26d4ce9807ecf57d3f9eefe19ae64e75bcaaa8b</url>
40
+ <author>
41
+ <name>Chris Wanstrath</name>
42
+ <email>chris@ozmm.org</email>
43
+ </author>
44
+ <id>c26d4ce9807ecf57d3f9eefe19ae64e75bcaaa8b</id>
45
+ <committed-date>2008-03-02T16:45:41-08:00</committed-date>
46
+ <authored-date>2008-03-02T16:45:41-08:00</authored-date>
47
+ <tree>28a1a1ca3e663d35ba8bf07d3f1781af71359b76</tree>
48
+ <committer>
49
+ <name>Chris Wanstrath</name>
50
+ <email>chris@ozmm.org</email>
51
+ </committer>
52
+ </commit>
@@ -0,0 +1,89 @@
1
+ <aws:weather xmlns:aws="http://www.aws.com/aws">
2
+ <aws:api version="2.0"/>
3
+ <aws:WebURL>http://weather.weatherbug.com/IN/Carmel-weather.html?ZCode=Z5546&amp;Units=0&amp;stat=MOCAR</aws:WebURL>
4
+ <aws:ob>
5
+ <aws:ob-date>
6
+ <aws:year number="2008"/>
7
+ <aws:month number="12" text="December" abbrv="Dec"/>
8
+ <aws:day number="30" text="Tuesday" abbrv="Tue"/>
9
+ <aws:hour number="4" hour-24="16"/>
10
+ <aws:minute number="18"/>
11
+ <aws:second number="01"/>
12
+ <aws:am-pm abbrv="PM"/>
13
+ <aws:time-zone offset="-5" text="Eastern Standard Time" abbrv="EST"/>
14
+ </aws:ob-date>
15
+ <aws:requested-station-id>mocar</aws:requested-station-id>
16
+ <aws:station-id>MOCAR</aws:station-id>
17
+ <aws:station>Mohawk Trail ES</aws:station>
18
+ <aws:city-state zipcode="46033">Carmel, IN</aws:city-state>
19
+ <aws:country>USA</aws:country>
20
+ <aws:latitude>39.9711111111111</aws:latitude>
21
+ <aws:longitude>-86.0938888888889</aws:longitude>
22
+ <aws:site-url>http://www1.ccs.k12.in.us/mte/home</aws:site-url>
23
+ <aws:aux-temp units="&amp;deg;F">74</aws:aux-temp>
24
+ <aws:aux-temp-rate units="&amp;deg;F">+0.0</aws:aux-temp-rate>
25
+ <aws:current-condition icon="http://deskwx.weatherbug.com/images/Forecast/icons/cond007.gif">Sunny</aws:current-condition>
26
+ <aws:dew-point units="&amp;deg;F">35</aws:dew-point>
27
+ <aws:elevation units="ft">817</aws:elevation>
28
+ <aws:feels-like units="&amp;deg;F">51</aws:feels-like>
29
+ <aws:gust-time>
30
+ <aws:year number="0001"/>
31
+ <aws:month number="1" text="January" abbrv="Jan"/>
32
+ <aws:day number="1" text="Monday" abbrv="Mon"/>
33
+ <aws:hour number="12" hour-24="00"/>
34
+ <aws:minute number="00"/>
35
+ <aws:second number="00"/>
36
+ <aws:am-pm abbrv="AM"/>
37
+ <aws:time-zone offset="-5" text="Eastern Standard Time" abbrv="EST"/>
38
+ </aws:gust-time>
39
+ <aws:gust-direction>W</aws:gust-direction>
40
+ <aws:gust-speed units="mph">25</aws:gust-speed>
41
+ <aws:humidity units="%">53</aws:humidity>
42
+ <aws:humidity-high units="%">100.0</aws:humidity-high>
43
+ <aws:humidity-low units="%">42.5</aws:humidity-low>
44
+ <aws:humidity-rate>-5.0</aws:humidity-rate>
45
+ <aws:indoor-temp units="&amp;deg;F">75</aws:indoor-temp>
46
+ <aws:indoor-temp-rate units="&amp;deg;F">+0.0</aws:indoor-temp-rate>
47
+ <aws:light>28</aws:light>
48
+ <aws:light-rate>-1.5</aws:light-rate>
49
+ <aws:moon-phase moon-phase-img="http://api.wxbug.net/images/moonphase/mphase02.gif">-10</aws:moon-phase>
50
+ <aws:pressure units="&quot;">29.71</aws:pressure>
51
+ <aws:pressure-high units="&quot;">30.18</aws:pressure-high>
52
+ <aws:pressure-low units="&quot;">29.71</aws:pressure-low>
53
+ <aws:pressure-rate units="&quot;/h">-0.04</aws:pressure-rate>
54
+ <aws:rain-month units="&quot;">6.64</aws:rain-month>
55
+ <aws:rain-rate units="&quot;/h">0.00</aws:rain-rate>
56
+ <aws:rain-rate-max units="&quot;/h">0.00</aws:rain-rate-max>
57
+ <aws:rain-today units="&quot;">0.00</aws:rain-today>
58
+ <aws:rain-year units="&quot;">53.83</aws:rain-year>
59
+ <aws:temp units="&amp;deg;F">51.8</aws:temp>
60
+ <aws:temp-high units="&amp;deg;F">52</aws:temp-high>
61
+ <aws:temp-low units="&amp;deg;F">29</aws:temp-low>
62
+ <aws:temp-rate units="&amp;deg;F/h">+2.5</aws:temp-rate>
63
+ <aws:sunrise>
64
+ <aws:year number="2008"/>
65
+ <aws:month number="12" text="December" abbrv="Dec"/>
66
+ <aws:day number="30" text="Tuesday" abbrv="Tue"/>
67
+ <aws:hour number="8" hour-24="08"/>
68
+ <aws:minute number="06"/>
69
+ <aws:second number="02"/>
70
+ <aws:am-pm abbrv="AM"/>
71
+ <aws:time-zone offset="-5" text="Eastern Standard Time" abbrv="EST"/>
72
+ </aws:sunrise>
73
+ <aws:sunset>
74
+ <aws:year number="2008"/>
75
+ <aws:month number="12" text="December" abbrv="Dec"/>
76
+ <aws:day number="30" text="Tuesday" abbrv="Tue"/>
77
+ <aws:hour number="5" hour-24="17"/>
78
+ <aws:minute number="28"/>
79
+ <aws:second number="53"/>
80
+ <aws:am-pm abbrv="PM"/>
81
+ <aws:time-zone offset="-5" text="Eastern Standard Time" abbrv="EST"/>
82
+ </aws:sunset>
83
+ <aws:wet-bulb units="&amp;deg;F">44.24</aws:wet-bulb>
84
+ <aws:wind-speed units="mph">4</aws:wind-speed>
85
+ <aws:wind-speed-avg units="mph">7</aws:wind-speed-avg>
86
+ <aws:wind-direction>SSW</aws:wind-direction>
87
+ <aws:wind-direction-avg>SW</aws:wind-direction-avg>
88
+ </aws:ob>
89
+ </aws:weather>
@@ -0,0 +1,20 @@
1
+ <dictionary>
2
+ <record id="000035426">
3
+ <head>sulphur-crested cockatoo</head>
4
+ <pron>
5
+ <prn>.sxlf7-kr8st7d k6k7'tu</prn>
6
+ </pron>
7
+ <body>
8
+ <chunk>
9
+ <pos>noun</pos>
10
+ <def id="915">
11
+ <dtext>a large common parrot, <bn>Cacatua galerita</bn>, predominantly white, with yellow on the undersides of wings and tail and a forward curving yellow crest, found in Australia, New Guinea and nearby islands.</dtext>
12
+ </def>
13
+ </chunk>
14
+ <variants>
15
+ <var>white <tag>cockatoo</tag></var>
16
+ <var><tag>white</tag> cockatoo</var>
17
+ </variants>
18
+ </body>
19
+ </record>
20
+ </dictionary>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <familytree xmlns="http://api.familysearch.org/familytree/v1" xmlns:fsapi-v1="http://api.familysearch.org/v1" version="1.0.20071213.942" statusMessage="OK" statusCode="200">
3
+ <persons>
4
+ <person version="1199378491000" modified="2008-01-03T09:41:31-07:00" id="KWQS-BBQ">
5
+ <information>
6
+ <alternateIds>
7
+ <id>gedcom.1B5E3087E36D814FA9CBE0BE5B3721EA</id>
8
+ <id>KWQS-BB3</id>
9
+ <id>KWQS-W23</id>
10
+ <id>KWQS-W2S</id>
11
+ <id>KWQS-W29</id>
12
+ <id>KWQM-MMM</id>
13
+ <id>KWQS-W2Q</id>
14
+ <id>KWQS-BBQ</id>
15
+ </alternateIds>
16
+ <gender>Male</gender>
17
+ <living>false</living>
18
+ </information>
19
+ </person>
20
+ </persons>
21
+ </familytree>
@@ -0,0 +1,86 @@
1
+
2
+ <?xml version="1.0" encoding="ISO-8859-1"?>
3
+ <CatalogTree code="NLD" xmlns="urn:eventis:prodis:onlineapi:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4
+ <Node vodBackOfficeId="69fcb5eb-1020-4053-8fce-6bce030cac5b">
5
+ <Name>Parent 1</Name>
6
+ <Description>
7
+ 111#111#120#NPO-BrowseMode.jpg#NPO-ExtendedMode.jpg
8
+ </Description>
9
+ <Translations>
10
+ <Translation Language="en-GB">
11
+ <Name>Parent 1 en</Name>
12
+ </Translation>
13
+ <Translation Language="de-DE">
14
+ <Name>Parent 1 de</Name>
15
+ </Translation>
16
+ </Translations>
17
+ <Rating>0</Rating>
18
+ <Adult>false</Adult>
19
+ <CatalogCode>NLD</CatalogCode>
20
+ <Position>1</Position>
21
+ <SubNodes>
22
+ <Node vodBackOfficeId="27feedad-dead-4721-ba61-c3f9f17d0956">
23
+ <Name>First</Name>
24
+ <Translations>
25
+ <Translation Language="en-GB">
26
+ <Name>First en</Name>
27
+ </Translation>
28
+ </Translations>
29
+ <Rating>0</Rating>
30
+ <Adult>false</Adult>
31
+ <CatalogCode>NLD</CatalogCode>
32
+ <ParentId>69fcb5eb-1020-4053-8fce-6bce030cac5b</ParentId>
33
+ <Position>0</Position>
34
+ <SubNodes>
35
+ <Node vodBackOfficeId="7edbcc13-2d03-4254-aaf6-307ba553d4fd">
36
+ <Name>Second</Name>
37
+ <Translations>
38
+ <Translation Language="en-GB">
39
+ <Name>Second en</Name>
40
+ </Translation>
41
+ </Translations>
42
+ <Rating>0</Rating>
43
+ <Adult>false</Adult>
44
+ <CatalogCode>NLD</CatalogCode>
45
+ <ParentId>b17dd22b-c028-44ad-8e75-e676e2619ceb</ParentId>
46
+ <Position>0</Position>
47
+ <SubNodes>
48
+ <Node vodBackOfficeId="27feedad-dead-4721-ba61-c3f9f17d1111">
49
+ <Name>Third</Name>
50
+ <Translations>
51
+ <Translation Language="en-GB">
52
+ <Name>Third en</Name>
53
+ </Translation>
54
+ </Translations>
55
+ <Rating>0</Rating>
56
+ <Adult>false</Adult>
57
+ <CatalogCode>NLD</CatalogCode>
58
+ <ParentId>69fcb5eb-1020-4053-8fce-6bce030cac5b</ParentId>
59
+ <Position>0</Position>
60
+ </Node>
61
+ </SubNodes>
62
+ </Node>
63
+ </SubNodes>
64
+ </Node>
65
+ </SubNodes>
66
+ </Node>
67
+ <Node vodBackOfficeId="69fcb5eb-1020-4053-8fce-12312312312">
68
+ <Name>Parent 2</Name>
69
+ <Description>
70
+ 111#111#120#NPO-BrowseMode.jpg#NPO-ExtendedMode.jpg
71
+ </Description>
72
+ <Translations>
73
+ <Translation Language="en-GB">
74
+ <Name>Parent 2 en</Name>
75
+ </Translation>
76
+ <Translation Language="de-DE">
77
+ <Name>Parent 2 de</Name>
78
+ </Translation>
79
+ </Translations>
80
+ <Rating>0</Rating>
81
+ <Adult>false</Adult>
82
+ <CatalogCode>NLD</CatalogCode>
83
+ <Position>1</Position>
84
+ <SubNodes/>
85
+ </Node>
86
+ </CatalogTree>
@@ -0,0 +1,355 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <lfm status="ok">
3
+ <results for="Koko" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
4
+ <opensearch:Query role="request" searchTerms="Koko" startPage="1" />
5
+ <opensearch:totalResults>37</opensearch:totalResults>
6
+ <opensearch:startIndex>0</opensearch:startIndex>
7
+ <opensearch:itemsPerPage>50</opensearch:itemsPerPage>
8
+ <venuematches>
9
+ <venue>
10
+ <id>8777134</id>
11
+ <name>Koko</name>
12
+ <location>
13
+ <city>London</city>
14
+ <country>United Kingdom</country>
15
+ <street>1a Camden High Street, Camden</street>
16
+ <postalcode>NW1 7JE</postalcode>
17
+ <geo:point>
18
+ <geo:lat>51.53469</geo:lat>
19
+ <geo:long>-0.138434</geo:long>
20
+ </geo:point>
21
+ </location>
22
+ <url>http://www.last.fm/venue/8777134</url>
23
+ </venue>
24
+ <venue>
25
+ <id>8839165</id>
26
+ <name>koko</name>
27
+ <location>
28
+ <city>Layer de la Haye</city>
29
+ <country>United Kingdom</country>
30
+ <street></street>
31
+ <postalcode></postalcode>
32
+ <geo:point>
33
+ <geo:lat>51.888862</geo:lat>
34
+ <geo:long>0.895354</geo:long>
35
+ </geo:point>
36
+ </location>
37
+ <url>http://www.last.fm/venue/8839165</url>
38
+ </venue>
39
+ <venue>
40
+ <id>8923849</id>
41
+ <name>Koko's</name>
42
+ <location>
43
+ <city>Burnley</city>
44
+ <country>United Kingdom</country>
45
+ <street></street>
46
+ <postalcode></postalcode>
47
+ <geo:point>
48
+ <geo:lat>53.787316</geo:lat>
49
+ <geo:long>-2.2437</geo:long>
50
+ </geo:point>
51
+ </location>
52
+ <url>http://www.last.fm/venue/8923849</url>
53
+ </venue>
54
+ <venue>
55
+ <id>8965110</id>
56
+ <name>koko</name>
57
+ <location>
58
+ <city>London</city>
59
+ <country>United Kingdom</country>
60
+ <street></street>
61
+ <postalcode></postalcode>
62
+ <geo:point>
63
+ <geo:lat>51.53469</geo:lat>
64
+ <geo:long>-0.138434</geo:long>
65
+ </geo:point>
66
+ </location>
67
+ <url>http://www.last.fm/venue/8965110</url>
68
+ </venue>
69
+ <venue>
70
+ <id>8971623</id>
71
+ <name>Koko</name>
72
+ <location>
73
+ <city>Castelletto Cervo-Biella</city>
74
+ <country>Italy</country>
75
+ <street></street>
76
+ <postalcode></postalcode>
77
+ <geo:point>
78
+ <geo:lat>45.467809</geo:lat>
79
+ <geo:long>8.460168</geo:long>
80
+ </geo:point>
81
+ </location>
82
+ <url>http://www.last.fm/venue/8971623</url>
83
+ </venue>
84
+ <venue>
85
+ <id>8989111</id>
86
+ <name>Koko</name>
87
+ <location>
88
+ <city>Camden, London</city>
89
+ <country>United Kingdom</country>
90
+ <street></street>
91
+ <postalcode></postalcode>
92
+ <geo:point>
93
+ <geo:lat>51.53469</geo:lat>
94
+ <geo:long>-0.138434</geo:long>
95
+ </geo:point>
96
+ </location>
97
+ <url>http://www.last.fm/venue/8989111</url>
98
+ </venue>
99
+ <venue>
100
+ <id>8997379</id>
101
+ <name>koko</name>
102
+ <location>
103
+ <city>Castelletto</city>
104
+ <country>Italy</country>
105
+ <street></street>
106
+ <postalcode></postalcode>
107
+ <geo:point>
108
+ <geo:lat>45.5833333</geo:lat>
109
+ <geo:long>8.5833333</geo:long>
110
+ </geo:point>
111
+ </location>
112
+ <url>http://www.last.fm/venue/8997379</url>
113
+ </venue>
114
+ <venue>
115
+ <id>8877867</id>
116
+ <name>Koko Teatteri</name>
117
+ <location>
118
+ <city>Helsinki</city>
119
+ <country>Finland</country>
120
+ <street></street>
121
+ <postalcode></postalcode>
122
+ <geo:point>
123
+ <geo:lat>60.175745</geo:lat>
124
+ <geo:long>24.950355</geo:long>
125
+ </geo:point>
126
+ </location>
127
+ <url>http://www.last.fm/venue/8877867</url>
128
+ </venue>
129
+ <venue>
130
+ <id>8906962</id>
131
+ <name>Koko Gorilaz</name>
132
+ <location>
133
+ <city>Cardiff</city>
134
+ <country>United Kingdom</country>
135
+ <street></street>
136
+ <postalcode></postalcode>
137
+ <geo:point>
138
+ <geo:lat>51.480283</geo:lat>
139
+ <geo:long>-3.173233</geo:long>
140
+ </geo:point>
141
+ </location>
142
+ <url>http://www.last.fm/venue/8906962</url>
143
+ </venue>
144
+ <venue>
145
+ <id>8913762</id>
146
+ <name>Koko Cocktails</name>
147
+ <location>
148
+ <city>San Francisco, CA</city>
149
+ <country>United States</country>
150
+ <street></street>
151
+ <postalcode></postalcode>
152
+ <geo:point>
153
+ <geo:lat>37.785804</geo:lat>
154
+ <geo:long>-122.420718</geo:long>
155
+ </geo:point>
156
+ </location>
157
+ <url>http://www.last.fm/venue/8913762</url>
158
+ </venue>
159
+ <venue>
160
+ <id>8960307</id>
161
+ <name>koko, camden</name>
162
+ <location>
163
+ <city>london</city>
164
+ <country>United Kingdom</country>
165
+ <street></street>
166
+ <postalcode></postalcode>
167
+ <geo:point>
168
+ <geo:lat>51.53469</geo:lat>
169
+ <geo:long>-0.138434</geo:long>
170
+ </geo:point>
171
+ </location>
172
+ <url>http://www.last.fm/venue/8960307</url>
173
+ </venue>
174
+ <venue>
175
+ <id>8972179</id>
176
+ <name>koko club</name>
177
+ <location>
178
+ <city>Castelletto Cervo (Biella)</city>
179
+ <country>Italy</country>
180
+ <street></street>
181
+ <postalcode></postalcode>
182
+ <geo:point>
183
+ <geo:lat>45.5833333</geo:lat>
184
+ <geo:long>8.5833333</geo:long>
185
+ </geo:point>
186
+ </location>
187
+ <url>http://www.last.fm/venue/8972179</url>
188
+ </venue>
189
+ <venue>
190
+ <id>8987071</id>
191
+ <name>Koko Club</name>
192
+ <location>
193
+ <city>London</city>
194
+ <country>United Kingdom</country>
195
+ <street></street>
196
+ <postalcode></postalcode>
197
+ <geo:point>
198
+ <geo:lat>51.53469</geo:lat>
199
+ <geo:long>-0.138434</geo:long>
200
+ </geo:point>
201
+ </location>
202
+ <url>http://www.last.fm/venue/8987071</url>
203
+ </venue>
204
+ <venue>
205
+ <id>8996214</id>
206
+ <name>Koko Gorillaz</name>
207
+ <location>
208
+ <city>Roath, Cardiff</city>
209
+ <country>United Kingdom</country>
210
+ <street></street>
211
+ <postalcode></postalcode>
212
+ <geo:point>
213
+ <geo:lat>51.485545</geo:lat>
214
+ <geo:long>-3.193589</geo:long>
215
+ </geo:point>
216
+ </location>
217
+ <url>http://www.last.fm/venue/8996214</url>
218
+ </venue>
219
+ <venue>
220
+ <id>9011083</id>
221
+ <name>Koko Club</name>
222
+ <location>
223
+ <city>Castelletto (BI)</city>
224
+ <country>Italy</country>
225
+ <street></street>
226
+ <postalcode></postalcode>
227
+ <geo:point>
228
+ <geo:lat>45.4</geo:lat>
229
+ <geo:long>8.9333333</geo:long>
230
+ </geo:point>
231
+ </location>
232
+ <url>http://www.last.fm/venue/9011083</url>
233
+ </venue>
234
+ <venue>
235
+ <id>9011085</id>
236
+ <name>Koko Club</name>
237
+ <location>
238
+ <city>Castelletto Cervo (BI)</city>
239
+ <country>Italy</country>
240
+ <street>VIA PER COSSATO / A4 USCITA BALOCCO</street>
241
+ <postalcode></postalcode>
242
+ <geo:point>
243
+ <geo:lat>45.5833333</geo:lat>
244
+ <geo:long>8.5833333</geo:long>
245
+ </geo:point>
246
+ </location>
247
+ <url>http://www.last.fm/venue/9011085</url>
248
+ </venue>
249
+ <venue>
250
+ <id>9016513</id>
251
+ <name>KOKO Bar</name>
252
+ <location>
253
+ <city>Katowice</city>
254
+ <country>Poland</country>
255
+ <street>ul. 3go Maja 23</street>
256
+ <postalcode></postalcode>
257
+ <geo:point>
258
+ <geo:lat>50.2302967966042</geo:lat>
259
+ <geo:long>19.0139007568359</geo:long>
260
+ </geo:point>
261
+ </location>
262
+ <url>http://www.last.fm/venue/9016513</url>
263
+ </venue>
264
+ <venue>
265
+ <id>8870061</id>
266
+ <name>KokoTeatteri</name>
267
+ <location>
268
+ <city>Helsinki</city>
269
+ <country>Finland</country>
270
+ <street>Siltavuorenranta 18</street>
271
+ <postalcode></postalcode>
272
+ <geo:point>
273
+ <geo:lat>60.175745</geo:lat>
274
+ <geo:long>24.950355</geo:long>
275
+ </geo:point>
276
+ </location>
277
+ <url>http://www.last.fm/venue/8870061</url>
278
+ </venue>
279
+ <venue>
280
+ <id>8877869</id>
281
+ <name>KokoTeatteri</name>
282
+ <location>
283
+ <city>Helsinki</city>
284
+ <country>Finland</country>
285
+ <street></street>
286
+ <postalcode></postalcode>
287
+ <geo:point>
288
+ <geo:lat>60.175745</geo:lat>
289
+ <geo:long>24.950355</geo:long>
290
+ </geo:point>
291
+ </location>
292
+ <url>http://www.last.fm/venue/8877869</url>
293
+ </venue>
294
+ <venue>
295
+ <id>8951971</id>
296
+ <name>Bajka/Koko-Bongo</name>
297
+ <location>
298
+ <city>Mielno</city>
299
+ <country>Poland</country>
300
+ <street></street>
301
+ <postalcode></postalcode>
302
+ <geo:point>
303
+ <geo:lat>54.3</geo:lat>
304
+ <geo:long>17.1166667</geo:long>
305
+ </geo:point>
306
+ </location>
307
+ <url>http://www.last.fm/venue/8951971</url>
308
+ </venue>
309
+ <venue>
310
+ <id>8958085</id>
311
+ <name>Bajka/Koko-Bongo</name>
312
+ <location>
313
+ <city>Mielno</city>
314
+ <country>Poland</country>
315
+ <street></street>
316
+ <postalcode></postalcode>
317
+ <geo:point>
318
+ <geo:lat>54.2666667</geo:lat>
319
+ <geo:long>16.05</geo:long>
320
+ </geo:point>
321
+ </location>
322
+ <url>http://www.last.fm/venue/8958085</url>
323
+ </venue>
324
+ <venue>
325
+ <id>9017902</id>
326
+ <name>Klub Bajka/Koko-Bongo</name>
327
+ <location>
328
+ <city>Mielno</city>
329
+ <country>Poland</country>
330
+ <street></street>
331
+ <postalcode></postalcode>
332
+ <geo:point>
333
+ <geo:lat>54.2666667</geo:lat>
334
+ <geo:long>16.05</geo:long>
335
+ </geo:point>
336
+ </location>
337
+ <url>http://www.last.fm/venue/9017902</url>
338
+ </venue>
339
+ <venue>
340
+ <id>8965534</id>
341
+ <name>KOKO, 1a Camden High Street</name>
342
+ <location>
343
+ <city>London</city>
344
+ <country>United Kingdom</country>
345
+ <street></street>
346
+ <postalcode></postalcode>
347
+ <geo:point>
348
+ <geo:lat>51.541474</geo:lat>
349
+ <geo:long>-0.145325</geo:long>
350
+ </geo:point>
351
+ </location>
352
+ <url>http://www.last.fm/venue/8965534</url>
353
+ </venue>
354
+ </venuematches>
355
+ </results></lfm>