xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Royi Ronen" <R...@il.ibm.com>
Subject question regarding dtd parsing
Date Wed, 06 Nov 2002 16:25:04 GMT
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:

      <!ELEMENT pesron EMPTY>
      <!ATTLIST person
             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


Mime
View raw message