From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julian Graham Newsgroups: gmane.lisp.scheme.ssax-sxml,gmane.lisp.guile.user Subject: Re: ANN: SDOM project development release 0.4 Date: Sat, 31 Dec 2005 11:53:00 -0500 Message-ID: <2bc5f8210512310853g3171fd83oceb142f16653b947@mail.gmail.com> References: <2bc5f8210512041112k5bf277e9vb9ebba673c14c9e8@mail.gmail.com> <874q4tmdq5.fsf@ossau.uklinux.net> <2bc5f8210512290724i505b05e3lae7b3eb75653a4d4@mail.gmail.com> <87lky1bd15.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136048051 26068 80.91.229.2 (31 Dec 2005 16:54:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 31 Dec 2005 16:54:11 +0000 (UTC) Cc: guile-user-mXXj517/zsQ@public.gmane.org, ssax-sxml-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Original-X-From: ssax-sxml-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Sat Dec 31 17:54:09 2005 Return-path: Envelope-to: glss-ssax-sxml@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EsjzY-0001tX-Jq for glss-ssax-sxml@m.gmane.org; Sat, 31 Dec 2005 17:54:07 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 94299129F5; Sat, 31 Dec 2005 08:54:03 -0800 (PST) Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EsjyZ-0005IY-OH for ssax-sxml-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Sat, 31 Dec 2005 08:53:03 -0800 Original-Received: from zproxy.gmail.com ([64.233.162.201]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1EsjyY-0001mM-LJ for ssax-sxml-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Sat, 31 Dec 2005 08:53:03 -0800 Original-Received: by zproxy.gmail.com with SMTP id r28so1409704nza for ; Sat, 31 Dec 2005 08:53:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PMRx5RxEYNANxSEpzQSzLPk6Po3eskmAyHh+pGWznGKP8Y+3b+mSVKT+EiPRIHisqp79GINAdXuos/wGpJK7n9REtL+sB+wPbiGo5rUy5hj4Aq112U3kwzRVP+Lc8sGI8b9dxfdM2Cj2eNaLgJjBkHdkKexVCOgzEr5mN/Stk+8= Original-Received: by 10.36.145.5 with SMTP id s5mr2909075nzd; Sat, 31 Dec 2005 08:53:00 -0800 (PST) Original-Received: by 10.36.252.6 with HTTP; Sat, 31 Dec 2005 08:53:00 -0800 (PST) Original-To: Neil Jerram In-Reply-To: <87lky1bd15.fsf-0S17iFHR5lf2/9iHc7UuXF6hYfS7NtTn@public.gmane.org> Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 RCVD_BY_IP Received by mail server with no name Original-Sender: ssax-sxml-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: ssax-sxml-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org X-BeenThere: ssax-sxml-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: Scheme and XML: parsing and representation List-Post: List-Help: List-Subscribe: , List-Archive: X-Original-Date: Sat, 31 Dec 2005 11:53:00 -0500 Xref: news.gmane.org gmane.lisp.scheme.ssax-sxml:232 gmane.lisp.guile.user:5018 Archived-At: On 12/31/05, Neil Jerram wrote: > I'm afraid that doesn't help me much ... unless there are JDOM > applications that I could refer to as examples? I think this is turning into a defense of the DOM spec itself, which I think would answer most of your questions. When it comes to JDOM, I'd say that you'd use it any place you wanted to easily manipulate an XML document in Java as a tree of nodes instead of as a stream of XML tokens -- obviously, web applications are a major market for this, but a trivial non-web application might be... parsing and querying an XML configuration file. > But isn't everything event-driven? As in, execute so-and-so script on > so-and-so objects when I click on this link? And in that case, don't > you need something that amounts to a web browser (or at least, an > HTML/XML page renderer) to exercise the DOM? Yes, but the DOM spec allows you to embed event handlers in the document tree that respond in a cascading fashion to changes in the document that may or may not be triggered by the user of the embedding application -- for example, you might have an event handler that sorts the nodes in a tree by attribute value whenever it's notified by the DOM that a new node has been added to the document. You could certainly implement this at the level of the embedding application, but I think it's quite efficient to have the DOM handle such flows of events for you. Regards, Julian ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click