From mail at mailkurier.de Sun May 12 02:40:27 2002 From: mail at mailkurier.de (Immer frischer Kaffee...) Date: Sun Aug 10 16:54:51 2008 Subject: [Zope-xml] Betreff Message-ID: -------------- next part -------------- A non-text attachment was scrubbed... Name: index.htm Type: application/octet-stream Size: 7643 bytes Desc: not available Url : http://mail.zope.org/pipermail/zope-xml/attachments/20020512/b5691a15/index.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: klee.jpg Type: application/octet-stream Size: 4108 bytes Desc: not available Url : http://mail.zope.org/pipermail/zope-xml/attachments/20020512/b5691a15/klee.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: tassegross.jpg Type: application/octet-stream Size: 1490 bytes Desc: not available Url : http://mail.zope.org/pipermail/zope-xml/attachments/20020512/b5691a15/tassegross.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: foto2.jpg Type: application/octet-stream Size: 2262 bytes Desc: not available Url : http://mail.zope.org/pipermail/zope-xml/attachments/20020512/b5691a15/foto2.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: automat.jpg Type: application/octet-stream Size: 3483 bytes Desc: not available Url : http://mail.zope.org/pipermail/zope-xml/attachments/20020512/b5691a15/automat.obj From bigarea at korea.com Sun May 12 05:48:52 2002 From: bigarea at korea.com (=?ks_c_5601-1987?B?udogwOe8ug==?=) Date: Sun Aug 10 16:54:51 2008 Subject: [Zope-xml] How to use XML in zope Message-ID: <0dbe01c1f99a$394a1240$2e011fac@korea.com> Hi!! Glad to meet you.. First of all I am anxious about what I am korean so I am not good at English. What I want to answer is about XML in zope. Yesterday I found the XMLkit which is kind of zope's products. Now I am not good at management the zope and XML. So I often look for the help document. When I found the XMLkit, I was glad to meet it. But I could not handle it. So I am looking for the help file. Is there the help file of XMLkit? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.zope.org/pipermail/zope-xml/attachments/20020512/c8b3726b/attachment.html From sean.upton at uniontrib.com Mon May 13 11:43:00 2002 From: sean.upton at uniontrib.com (sean.upton@uniontrib.com) Date: Sun Aug 10 16:54:51 2008 Subject: [Zope-xml] How to use XML in zope Message-ID: If you know DOM, the easiest route to using XML in Zope may be ParsedXML, which stores a DOM for a corresponding XML file in a ParsedXML object in the object database. You can use Python scripts and DOM Level 2 methods to access/traverse/read/write XML. http://www.zope.org/Members/faassen/ParsedXML Good luck, Sean -----Original Message----- From: bigarea@korea.com [mailto:bigarea@korea.com] Sent: Sunday, May 12, 2002 2:49 AM To: zope-xml@zope.org Subject: [Zope-xml] How to use XML in zope Hi!! Glad to meet you.. First of all I am anxious about what I am korean so I am not good at English. What I want to answer is about XML in zope. Yesterday I found the XMLkit which is kind of zope's products. Now I am not good at management the zope and XML. So I often look for the help document. When I found the XMLkit, I was glad to meet it. But I could not handle it. So I am looking for the help document. Is there the help document of XMLkit? The final aim of mine is the usage of XML in zope. If there is another toolkit of XML in zope, would you recommend? Thank you very much, and I am missing the answer!! Have a good day. Bye. From markb at textmatters.com Mon May 13 17:52:11 2002 From: markb at textmatters.com (Mark Barratt) Date: Sun Aug 10 16:54:51 2008 Subject: [Zope-xml] How to use XML in zope References: <0dbe01c1f99a$394a1240$2e011fac@korea.com> Message-ID: <3CE0358B.2070900@textmatters.com> =B9=DA =C0=E7=BC=BA wrote: > If there is another toolkit of XML in zope, would you recommend? Just a 'me too', I'm afraid. I would dearly like to know what's available and happening about . xml content (TAL and beyond/alternatives) . xml metacontent (RDF, topic maps or whatever) in a way/place I can understand. If someone who is more familiar than I am with the zope.org site and what's been happening on XML fronts, I would even be happy to bring it together in a 'current state of play' document. Searches return lots of results but they seem to be from many different half-started projects. Is this an accurate view? best ------------ Mark Barratt Text Matters 37 Upper Redlands Road, Information design: Reading RG1 5JE, UK We help explain things using phone +44 (0)118 986 8313 .language fax +44 (0)118 931 3743 .design email markb@textmatters.com .systems web http://www.textmatters.com .process From isaac at structuredsystems.net Wed May 15 07:47:24 2002 From: isaac at structuredsystems.net (Isaac Levy) Date: Sun Aug 10 16:54:51 2008 Subject: [Zope-xml] Forcing XML-RPC for zope objects? Message-ID: <85C40ED7-67F9-11D6-8290-0050E4CEB514@structuredsystems.net> Hey all, I'm trying to force a Zope directory to do XML-RPC for a client app that won't behave and send me the right header. I'm trying to write an access rule that would force the htt REQUEST to have the following header: this dtml method (as access rule) doesn't work: (a reversal of an example from http://www.zope.org/Documentation/ZopeBook/SimpleExamples.stx) Python scripts, similarly, don't work either. Any ideas? Thanks- .ike Isaac Levy + Office of Structured Systems http://structuredsystems.net From mj at zope.com Thu May 16 10:09:02 2002 From: mj at zope.com (Martijn Pieters) Date: Sun Aug 10 16:54:51 2008 Subject: [Zope-xml] Re: Zope without RDBS In-Reply-To: <3CE391FE.67C21DDA@smail.inf.fh-rhein-sieg.de> References: <3CE391FE.67C21DDA@smail.inf.fh-rhein-sieg.de> Message-ID: <20020516140851.GC8417@zope.com> On Thu, May 16, 2002 at 01:03:27PM +0200, Sven Ludwig wrote: > I just read an anotation of yours under > http://lists.zope.org/pipermail/zope-xml/2001-October/000028.html > > I am looking for a possibility to use Zope without a > Relational Database System. I am new to Zope, and > read articles about it. Now I am considering to use the > Zope standard storage combined with XML representation > of Objects. There is a Zope appliacation I want to migrate > from RDBS to Object/XML(?) storage. It has only a few entities. > > I have not found a solution described in detail, yet. > Only ideas and abstract articles, that discuss different > manners in this field. > > I want to ask you for a hint. > > I could imagine creating an own Zope product containing the classes > for the representation of the entities of the application, but I do not > know how the functionality that a RDBS gives you could be realized > with that, so that you could also do queries and updates for a > certain subset of the objects. And where can XML come to play, > do you know about any existing solution with stored XML (though you > disagreed with that in your annotation). First of all, please use the mailing lists (such as the zope-xml list, which I CC-ed on this reply) for asking Zope questions; many more people read the mailing lists, resulting in a far wider and informed audience to answer your questions. Zope's object persistence database is not exactly an RDBMS; it does not provide a storage-level query mechanism, for example. It provides for transparent persistence of an object tree, backed by atomic transactions and full undo. That said, Zope comes with a catalog tool which allows for transparent or explicit indexing of objects and querying for objects matching given criteria. If you want to have an equivalent of the SQL 'UPDATE' command, some additional programming is required to make the changes to the objects, though. On Zope.org you'll find a Product called 'Parsed XML', which provides for XML storage within the Zope object tree, adding DOM access and Zope security integration: http://www.zope.org/Members/faassen/ParsedXML To come back to the email your refer to above; if you have an application with a fixed schema and a simple DTD, you'll be much better of building a custom Zope Product with objects that store directly in the Zope object database and use the Zope Catalog tool to do your queries and updates. For external exchange it will be trivial enough to serialize the object into an XML stream and vice versa. If you have questions on how to build such a Product, I encourage you to read the Zope Book (available on Zope.org) and contact the Zope community for further help. -- Martijn Pieters | Software Engineer mailto:mj@zope.com | Zope Corporation http://www.zope.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- From diork at interia.pl Fri May 17 07:19:30 2002 From: diork at interia.pl (diork) Date: Sun Aug 10 16:54:51 2008 Subject: [Zope-xml] XMLDOM in Zope Message-ID: <002b01c1fd94$d70e72c0$0301a8c0@krystian> Hi, Is it possible to use XMLDOM in Zope? Can I import any module allowing me to operate on dom in python script, can I use methods like appendChild(..)? What about security in Zope, is it possible to import such modules and use them in python script inside Zope? and how can I do it? Which is the best? I've heard about XMLKit, ParsedXML and PyXML? Which enables using XPath in searching xml tree? I haven't seen any informations about methods like selectSingleNode(..) or selectNodes(..) known from Microsoft XMLDOM in these projects, are they supported? a lot of questions but I hope You'll help me :) thanks Krystian ---------------------------------------------------------------------- Koniec Napstera - co dalej? >>> http://link.interia.pl/f15cd From rude at rosa.com Mon May 20 12:45:18 2002 From: rude at rosa.com (Mr. Udatny) Date: Sun Aug 10 16:54:51 2008 Subject: [Zope-xml] ParsedXML Install Question Message-ID: <3CE9281E.5020509@rosa.com> I had the same problem. solved with with a unhealthy `chmod 777 /usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/makesetup` i guess there is also a less general solution. anyway. probably somebody will be happy to find this note. kind regards, rude ---------------------------------- Eric Roby Eric.Roby@noaa.gov wrote on Wed, 13 Feb 2002 09:27:09 -0600 : I have been unable to successfully load the ParsedXML product on the following system: Platform/OS: linux2 / Redhat 7.1 Zope: Zope 2.5.0 (binary release, python 2.1, linux2-x86), python 2.1.2, linux2 Python: 2.1.2 (#1, Jan 25 2002, 13:17:56) [GCC 2.7.2.3] I have attempted to install it as the owner and as root but either way I consistently get the following error: make[1]: execvp: /usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/makesetup: Permission denied make[1]: *** [Makefile] Error 127 make[1]: Leaving directory `/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python/Products/ParsedXML/Expat' make: *** [boot] Error 2 The complete output is listed below: