pk,

Do you know jQuery at all? Reason I ask is I just finished installing
lxml and PyQuery yesterday to do data gathering. PyQuery makes it
pretty easy to slice and dice HTML off a site and looks/acts like
jQuery selectors. You can do the same with XML docs with PyQuery. lxml
provides all the xml tools - SAX, XSLT, XPath.

One caution. lxml, at least in Linux, can be a bit hard to install.
You need to fulfill all the dependencies.

JohnMc

On Jun 25, 5:57 pm, pk <peter.kirch...@youngdesigners.de> wrote:
> ok, then i have to wait... thanks
>
> On 25 Jun., 15:06, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > xml import? do not know. not a priority.
>
> > On Jun 25, 1:44 am, pk <peter.kirch...@youngdesigners.de> wrote:
>
> > > puh it`s to tricky...
> > > i think i have to wait still there is a function to read the same xml
> > > (for updating my tables)
> > > which i generate automaticaly in my code.
> > > massimo, when do you think will you release this function?
>
> > > peter
>
> > > On 25 Jun., 05:44, JohnMc <maruadventu...@gmail.com> wrote:
>
> > > > Interesting xml discussion.
>
> > > > Curious, and it is not exactly a Web2Py question, has anyone one on
> > > > the list installed/used PyQuery? I have the lxml library running but
> > > > for the life of me I can't seem to get PyQuery to install correctly.
>
> > > > JohnMc
>
> > > > On Jun 24, 7:03 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > If you use flex you should install pyamf and use the
>
> > > > > @service.amfrpc
>
> > > > > to pass data back and forth. You can find an example in AlterEgo
>
> > > > > Massimo
>
> > > > > On Jun 24, 4:53 pm, pk <peter.kirch...@youngdesigners.de> wrote:
>
> > > > > > hmm ok i understand.
> > > > > > but i need a way to update my tables in web2py if yourser change the
> > > > > > values in flex.
> > > > > > and that is a important function for our project.
> > > > > > is there another possibility to solve this?
>
> > > > > > On 24 Jun., 23:41, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > > > 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