You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Aleksandr Shneyderman <al...@law.columbia.edu> on 2001/08/31 16:45:38 UTC

DTD Parser

Hello, all!

I am not usre if this makes much sence to anyone, but
I was wondering if there is any DTD Parser out there?

What I mean is that I have a dtd file and I need to 
get its representation as a java object tree. So I can
easily answer questions like what kind of attributes 
might my element have and what would be the default values
for them. What kind of elements a given element might be
consistent of? I want to do it programmatically not
by just reading my DTD or trying to parse my XML and see
if it is valid or not. In other words I want to write
a tool that will help me construct my XML file based on 
my DTD in a way that my XML will be always valid.

Is there any parser/metadata generator out there that 
I might use for this?

Thanks,
Alex.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: DTD Parser

Posted by Iban Torres <ib...@yahoo.es>.
Hi Ale

I think that you will find something usefull here
http://www.wutka.com/dtdparser.html

Hope this helps


----- Original Message -----
From: "Aleksandr Shneyderman" <al...@law.columbia.edu>
To: <xe...@xml.apache.org>
Sent: Friday, August 31, 2001 3:45 PM
Subject: DTD Parser


> Hello, all!
>
> I am not usre if this makes much sence to anyone, but
> I was wondering if there is any DTD Parser out there?
>
> What I mean is that I have a dtd file and I need to
> get its representation as a java object tree. So I can
> easily answer questions like what kind of attributes
> might my element have and what would be the default values
> for them. What kind of elements a given element might be
> consistent of? I want to do it programmatically not
> by just reading my DTD or trying to parse my XML and see
> if it is valid or not. In other words I want to write
> a tool that will help me construct my XML file based on
> my DTD in a way that my XML will be always valid.
>
> Is there any parser/metadata generator out there that
> I might use for this?
>
> Thanks,
> Alex.
>
> ---------------------------------------------------------------------
> 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


Re: DTD Parser

Posted by Zhaohua Meng <me...@hotlens.com>.
http://www.wutka.com/dtdparser.html

Zhaohua Meng

Hotlens.com Inc.
http://www.hotlens.com

350 Fifth AVE
Suite 3113
New York, NY 10118
Phone: 212-465-1700
Fax:   212-465-1710
email: mengzh@hotlens.com


-----Original Message-----
From: "Aleksandr Shneyderman" <al...@law.columbia.edu>
To: <xe...@xml.apache.org>
Date: Fri, 31 Aug 2001 10:45:38 -0400
Subject: DTD Parser

> Hello, all!
> 
> I am not usre if this makes much sence to anyone, but
> I was wondering if there is any DTD Parser out there?
> 
> What I mean is that I have a dtd file and I need to 
> get its representation as a java object tree. So I can
> easily answer questions like what kind of attributes 
> might my element have and what would be the default values
> for them. What kind of elements a given element might be
> consistent of? I want to do it programmatically not
> by just reading my DTD or trying to parse my XML and see
> if it is valid or not. In other words I want to write
> a tool that will help me construct my XML file based on 
> my DTD in a way that my XML will be always valid.
> 
> Is there any parser/metadata generator out there that 
> I might use for this?
> 
> Thanks,
> Alex.
> 
> ---------------------------------------------------------------------
> 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