If you want to parse xml, I recommend feedparser.

http://www.feedparser.org/

wish it helps

On Thu, Oct 16, 2008 at 3:19 PM, JFQueralt <[EMAIL PROTECTED]> wrote:

>
> Hi, James.
>
> Does that imply I can use Pythong´s XML manipulation libraries in
> Django blocks?
>
> There has to be a way to retrieve information fron a file in Django (I
> ´ve seen official docs on it).
> XML is nothing than a structured data file so there should be a way to
> retrieve a value and use it in a template.
>
> Should I do it as parameters when invoking the render?
> (That way I could retrieve the XML file from the PY module, parse it
> and assign a list of variables to the template engine)
>
> Jean
>
> On Oct 16, 1:22 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> > On Wed, Oct 15, 2008 at 5:27 PM, JFQueralt <[EMAIL PROTECTED]> wrote:
> > > Being a newbie in django maybe I am just missing something but I don´t
> > > seem to find any information about how to retrieve an XML file and
> > > parse it from django.
> >
> > "Django" does not have any XML-parsing libraries, because Django is
> > simply a set of libraries, written in Python, to help you write web
> > applications in Python. As a result, you probably want to go take a
> > look at the XML libraries available in Python (including several in
> > Python's standard library).
> >
> > --
> > "Bureaucrat Conrad, you are technically correct -- the best kind of
> correct."
> >
>


-- 
Stay hungry,Stay foolish.

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to