Return-Path: Delivered-To: apmail-xml-xerces-j-user-archive@xml.apache.org Received: (qmail 35989 invoked by uid 500); 6 Nov 2002 16:54:57 -0000 Mailing-List: contact xerces-j-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: xerces-j-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list xerces-j-user@xml.apache.org Received: (qmail 35978 invoked from network); 6 Nov 2002 16:54:56 -0000 Message-ID: <004a01c285b6$15580fb0$de071b0a@metlife.com> From: "Vikram Rajan" To: References: Subject: Re: question regarding dtd parsing Date: Wed, 6 Nov 2002 12:00:57 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I doubt that Xerces provides any feature for parsing of DTDs. You could alternatively have a look at the DTD parser developed by Mark Wutka available at www.wutka.com/dtdparser.html Getting the values in a choice element is not as straight forward as "getPossibleValues(person,married)" though :) Vikram Planetasia Research Center ----- Original Message ----- From: "Royi Ronen" To: Sent: Wednesday, November 06, 2002 11:25 AM Subject: question regarding dtd parsing > Hi, > I am looking for a way to access a dtd from a java code, and given an > element+attribute name extract it's possible values (if exist) > For example, from: > > > married (true | false) 'false'> > > I'd like to be able to do: getPossibleValues(person,married) > getDefaultValues(person,married) > > Does xerces provide something for such needs? > > Thanks, > > Royi Ronen > Active Management Technologies > IBM Haifa Research Laboratories, 165 Abba Hushi Ave. Haifa 31905, Israel > Email: royi@il.ibm.com > Phone: ++ 972-4-8296314 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org > For additional commands, e-mail: xerces-j-user-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org For additional commands, e-mail: xerces-j-user-help@xml.apache.org