Re: [Zope] XML-RPC vs External method?

2000-11-02 Thread Irene Barg
Kapil, Thank you for this simple solution! I'm new to XML and Zope and sometimes I get caught in learning too many new things at once, we forget to think "simply":-) Thanks to you, I don't need to use either External method, or XML-RPC. The following simple DTML method works: dtml-call

[Zope] XML-RPC vs External method?

2000-11-01 Thread Irene Barg
Hello all, I have setup a query form to query a small MySQL database using Zope. It consists of: 1. ZMySQL Database Connection (ZMySQLDA) 2. ZSQL method 3. A search interface. Now, what I want is the user to have the option of viewing the results in HTML or raw XML. I think there can be

Re: [Zope] XML-RPC vs External method?

2000-11-01 Thread Ender
if the xml format is simple you could just do it dtml, it would end up with some extra white space but it would still be valid. a dtml method akin to ?xml version="1.0"? dtml-in mysqlretrieve item contentdtml-var content/content squishydtml-var squishy/content /item /dtml-in