Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > [HELP] Looking for DTD parser like older XML4j versions

Reply
Thread Tools

[HELP] Looking for DTD parser like older XML4j versions

 
 
juppie
Guest
Posts: n/a
 
      08-16-2003
Hello,

I'm writing visual XML editor. At the moment I need a DTD parser which
will parse DTD (either standalone or internal to XML doc) and give me an
access to underlying DTD in convenient manner. What I need especially is
API that will answer to questions:

- what elements are defined in DTD
- what elements can be inserted before/after particular element

I took a while to make some research and found that older versions
(3.0.1 and below?) of IBM XML4j had very nice class
'com.ibm.xml.parser.DTD' which provided excactly what I need (through
*getAppendableElements* and *getInsertableElements* methods.

However, that class has been removed from future versions of XML4j and I
can't find any link to older releases.

Can anyone give me some hint where can I find DTD parser wich will
fulfill my needs? Maybe someone has older XML4j version mentioned above,
and can share it with me?

Any help would be greatly appreciated.

best regards,
Bernard

 
Reply With Quote
 
 
 
 
Gregory Vaughan
Guest
Posts: n/a
 
      08-16-2003
Have a look at http://www.wutka.com/dtdparser.html


"juppie" <juppieNO-> wrote in message
news:bhl08n$du2$...
> Hello,
>
> I'm writing visual XML editor. At the moment I need a DTD parser which
> will parse DTD (either standalone or internal to XML doc) and give me an
> access to underlying DTD in convenient manner. What I need especially is
> API that will answer to questions:
>
> - what elements are defined in DTD
> - what elements can be inserted before/after particular element
>
> I took a while to make some research and found that older versions
> (3.0.1 and below?) of IBM XML4j had very nice class
> 'com.ibm.xml.parser.DTD' which provided excactly what I need (through
> *getAppendableElements* and *getInsertableElements* methods.
>
> However, that class has been removed from future versions of XML4j and I
> can't find any link to older releases.
>
> Can anyone give me some hint where can I find DTD parser wich will
> fulfill my needs? Maybe someone has older XML4j version mentioned above,
> and can share it with me?
>
> Any help would be greatly appreciated.
>
> best regards,
> Bernard
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML file from one DTD to another DTD test Java 2 07-28-2006 08:48 PM
How to specify DTD to DTD.getDTD for DocumentParser? Ronald Fischer Java 4 03-17-2005 09:37 AM
Removing older versions Tony Raven Firefox 11 02-21-2005 09:51 PM
Removing the dtd name when using print(...) on the dtd generated class Joseph Tilian Java 0 12-21-2004 02:58 PM
Including a dtd into another dtd... possible? Asfand Yar Qazi XML 1 09-19-2003 12:10 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57