[Zope] XML

Edward Muller edwardam@interlix.com
07 Mar 2003 00:18:00 -0600


Are you generating XML?

Then if so the easiest way would be to use Zope Page Templates, there is
no reason a zpt can't generate non xhtml xml ... at least AFAIK.

On Thu, 2003-03-06 at 15:17, D. Rick Anderson wrote:
> Whoa .. ok. I was under the impression that Zope had built-in support
> for XML. If that's the case then I'll just send the data in CSV format.
> We have too many servers that will be pulling these reports and I want
> to keep the installed products down to a minimum.
> 
> Thanks for your help!
> 
> Rick
> 
> On Thu, 2003-03-06 at 12:49, sean.upton@uniontrib.com wrote:
> > Download and use ParsedXML product (v. 1.3+), which created persistent DOM
> > documents; use standard DOM API to access, traverse, read, and write data
> > from these documents.  This will require that you have the PyXML package
> > installed for the version of python you are using to run Zope in your linux
> > distro (http://pyxml.sf.net).  Note: PyXML is used to provide the pyexpat
> > parser interface to the expat parser, included.
> > 
> > You might also be able to parse your document without storing it in Zope
> > without even using ParsedXML (it sounds like this is what you want to do?).
> > If this is what you are looking to do, use the PyDOM dom implementation that
> > comes with PyXML, and write a parsing script in a Python module; then write
> > an external method that uses that module.  This should be pretty easy.
> > 
> > Get a copy of the book Python & XML by Jones and Drake (O'Reilly, 2002).
> > Also, there is a Parsed-XML-Dev mailing list and a zope-xml list, both on
> > zope.org.
> > 
> > Sean
> > 
> > -----Original Message-----
> > From: D. Rick Anderson [mailto:ruger@acsnv.com]
> > Sent: Thursday, March 06, 2003 12:09 PM
> > To: zope@zope.org
> > Subject: [Zope] XML
> > 
> > 
> > What is the best way to parse XML with Zope? I've been digging all over
> > the site, and the docs there keep talking about adding an XML Document,
> > but that option doesn't exist on my Zope server (2.6.0 on RH 8.0) and I
> > can't find anything indicating that there needs to be a product
> > installed.
> > 
> > Simply put, I want to be able to grab an XML document with webclient()
> > and be able to parse the contents of the XML using DTML.
> > 
> > TIA
> > 
> > Rick
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://mail.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://mail.zope.org/mailman/listinfo/zope-announce
> >  http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
-- 
Edward Muller

Interlix - President

Web Hosting - PC Service & Support
Custom Programming - Network Service & Support

Phone: 417-862-0573
 Cell: 417-844-2435
  Fax: 417-862-0572

http://www.interlix.com