sitemap=TAG.urlset(**{'_xmlns':'http://www.sitemaps.org/schemas/ sitemap/0.9', '_xmlns:xsi':"http://www.w3.org/2001/XMLSchema- instance"})
On Nov 4, 7:08 pm, Francisco Costa <m...@franciscocosta.com> wrote: > is this a bug or a python issue? > > On 4 Nov, 21:12, Francisco Costa <m...@franciscocosta.com> wrote: > > > I'm trying to do a sitemap for my site. > > The thing is that when I set > > > sitemap=TAG.urlset(_xmlns='http://www.sitemaps.org/schemas/sitemap/ > > 0.9', _xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance") > > > the xmlns:xsi gives error because of the colon (:) > > Is there any way that i can change this? > >