From commons-user-return-16797-apmail-jakarta-commons-user-archive=jakarta.apache.org@jakarta.apache.org Fri Jun 30 16:42:03 2006 Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 84171 invoked from network); 30 Jun 2006 16:42:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2006 16:42:03 -0000 Received: (qmail 90761 invoked by uid 500); 30 Jun 2006 16:41:57 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 90709 invoked by uid 500); 30 Jun 2006 16:41:57 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 90698 invoked by uid 99); 30 Jun 2006 16:41:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 09:41:57 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of kgorshkov@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO nz-out-0102.google.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 09:41:56 -0700 Received: by nz-out-0102.google.com with SMTP id n29so346184nzf for ; Fri, 30 Jun 2006 09:41:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YbwFYiuKBzO9uXcoU3xvqsptGiG5BQwF/ytaRg1eZNlGlMjZdUpLl67O70DL3sYoRARf7R6nNLu1gUi9ruWHE6pMtjTXfVLyTQMZvoDegPZkm4g2IE8R5r+NgCK8Kz7Ep9qM2oAeR2612OL0EgNLhO2W0/aGsrsvNKra9ki3hRM= Received: by 10.36.74.19 with SMTP id w19mr956506nza; Fri, 30 Jun 2006 09:41:36 -0700 (PDT) Received: by 10.36.252.75 with HTTP; Fri, 30 Jun 2006 09:41:36 -0700 (PDT) Message-ID: Date: Fri, 30 Jun 2006 12:41:36 -0400 From: "Konstantin G" To: commons-user@jakarta.apache.org Subject: Digester - help getting the from a tag MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello All, I am using Digester for an xml parsing project ( quite successfully) and I need some help figuring out how to save the contents of a comment within a given tag, such as: I am specifically looking for occurrences of the commented out tag audio, and if there is a way to parse comments for xml tags, that would be great. Minimally, I would like to save the comments ( or the entirety of the text between the start and end of the tag) to a string. Since Digester uses SAX parsing, which might ignore comments, I am not sure if this is possible in the scope of Digester. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org