The problem is that it is not as standard as you may think.

People will want to upload and download XML but everybody will have/
expect a different XML formatting because it really depends on where
it comes from. XML is a standard for making up text/data with tags but
says nothing about what those tags should be.

That is why Python provides the SAX library so that you can customize
it with the XML parsing rules that you need.

It would make sense to give web2py the ability to read the same XML
that it generates but the XML that is generated .

Massimo

On Jun 24, 4:30 pm, pk <peter.kirch...@youngdesigners.de> wrote:
> ok thanks massimo,
> can somebody include self such a standard feature? if yes can you
> probably post this?
> because this is for our projectgroup an important feature.
>
> thanks
> peter
>
> On 24 Jun., 23:17, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > I would like to include this a standard feature for web2py (importing
> > xml records) but I am swamped for the next month. I am sure other
> > people here will be able to help.
>
> > Massimo
>
> > On Jun 24, 2:29 pm, pk <peter.kirch...@youngdesigners.de> wrote:
>
> > > can you probably help me massimo?
> > > i think it`s too difficult for me as beginner.
> > > peter
>
> > > On 24 Jun., 21:14, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > it is a bit tricky.
>
> > > >http://www.devshed.com/c/a/Python/Parsing-XML-with-SAX-and-Python/
>
> > > > Massimo
>
> > > > On Jun 24, 12:42 pm, pk <peter.kirch...@youngdesigners.de> wrote:
>
> > > > > ok is it very tricky?
> > > > > because i`m a python beginner...
>
> > > > > On 24 Jun., 18:48, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > > web2py does have code to import XML. you have to use the Python SAX
> > > > > > library to parse it.
>
> > > > > > On Jun 24, 10:19 am, pk <peter.kirch...@youngdesigners.de> wrote:
>
> > > > > > > hi,
> > > > > > >  the thing is, i update my xml, which i get from the function
> > > > > > > table_as_xml() in flex (action script) and
> > > > > > > then i would send it back. is it heavy to read the xml and update 
> > > > > > > the
> > > > > > > table?
> > > > > > > how can i solve this?
> > > > > > > thanks
> > > > > > > peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to