Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 87375 invoked from network); 16 May 2007 18:28:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 18:28:05 -0000 Received: (qmail 76088 invoked by uid 500); 16 May 2007 18:28:07 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 76039 invoked by uid 500); 16 May 2007 18:28:07 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 75983 invoked by uid 99); 16 May 2007 18:28:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 11:28:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [64.202.165.196] (HELO smtpout04-01.prod.mesa1.secureserver.net) (64.202.165.196) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 May 2007 11:27:58 -0700 Received: (qmail 19265 invoked from network); 16 May 2007 18:27:36 -0000 Received: from unknown (24.15.193.17) by smtpout04-04.prod.mesa1.secureserver.net (64.202.165.199) with ESMTP; 16 May 2007 18:27:33 -0000 Message-ID: <464B4D14.5030607@rowe-clan.net> Date: Wed, 16 May 2007 13:27:32 -0500 From: "William A. Rowe, Jr." User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: Generating XML References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Tim Bray wrote: > I want to generate some fairly large amounts of XML programmatically > inside my module. Poking around apr_xml.h and util_xml.h doesn't turn > up a lot of support for this. Am I looking in the wrong place? > Obviously, with qpr_xml_quote_string and apr_rprintf I can do it by > hand, but there are lots of ways to screw that up and it would be, you > know, work. > > Plan B would be to roll in genx, > -Tim yes, apr_xml is a very minimal subset. You can count on expat 1.95-ish generation (possibly 2.00) to be built with httpd. You might also consider libxml2 which several people use for their xml content. I don't forsee apr_xml/util_xml to become the 'full fledged xml engine' that an xml generating module would desire. I'll defer to Nick for further feedback, since many of the modules he's built generate or reparse xml. Bill