XML and UTF-8

2009-07-09 Thread Francisco Rivas
Hi all, I am getting some information from a DB and some of the vaules of a field contains information like this : Sam\xfael J\xf3n Gunnarsson which must be Samúel Jón Gunnarsson and I get that information and pass it to a view which creates a XML file ut by some reason those values are not disp

Re: Applying XSLT to an XML file using Django

2009-06-24 Thread Francisco Rivas
ript > > - to use the script inside the view but nothing. > > > My idea is to call transformer function and pick the file and give it to > > download. > > > Am I missing something?, Am I doing something wrong?... > > > Any kind of help would be appreciate. Than

Applying XSLT to an XML file using Django

2009-06-24 Thread Francisco Rivas
be appreciate. Thanks in advance and best regards. :D -- Francisco Rivas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegro

Re: Like Statement in Raw SQL

2009-03-30 Thread Francisco Rivas
Hi Matthew, thank you very much for the response, I just see it a few minutes ago. Thanks. :D On Mar 30, 10:47 am, Matthew Somerville wrote: > Francisco Rivas wrote: > >     sql = sql + 'AND f.url like "%%%s%%"'  % (forge) > > >   cursor = connec

Re: Like Statement in Raw SQL

2009-03-30 Thread Francisco Rivas
rk too, to fix this you have to split the instruction in two of them and you can use : sql = sql + 'AND f.url like "%%'+ '%s' % (forge) +'%%" ' sql = sql + 'LIMIT %s' % num I hope this help someone :D On Mar 30, 10:11 am, Francisco Rivas wrote: &

Like Statement in Raw SQL

2009-03-30 Thread Francisco Rivas
Hi * I am trying to pass a variable to a Raw SQL in Django with the following code : Note on the function : forge and num are variables that I am getting from an URL. >From the Django error web : all_info [] amount [] aux {} forge u'objectweb' forge_proj u'objectweb' format u'rss' num 0