473,387 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

[HELP] Looking for DTD parser like older XML4j versions

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

Jul 20 '05 #1
1 2033
Have a look at http://www.wutka.com/dtdparser.html
"juppie" <ju***********@wp.pl> wrote in message
news:bh**********@sunflower.man.poznan.pl...
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

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: seajay | last post by:
hi, I am looking for an RPM version of PHP 4.3.10 I am currently running PHP Version 4.2.2 on Red Hat Linux release 9 (Shrike) with Apache/2.0.40 (Red Hat Linux) Is it true that PHP 4.3.10...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
6
by: Conrad | last post by:
Greetings, In short: Using a new FreeBSD (4.9) PostgreSQL (7.3) server, can I rescue PostgreSQL data from a hard drive pulled from an older (motherboard just died) FreeBSD (4.??) PostgreSQL...
1
by: omm1979 | last post by:
hi, i'm working with that 3 things i mentioned, so my first question is - what are all these 3 things for (java sax - Xerces - dtd)?, i know what is SAX but how do i use xcerces and a dtd for...
34
by: Victor Kryukov | last post by:
Hello list, our team is going to rewrite our existing web-site, which has a lot of dynamic content and was quickly prototyped some time ago. Today, as we get better idea of what we need, we're...
17
by: Neil | last post by:
A client of mine likes some of the new bells and whistles in Access 2007, and is thinking about converting our A03 format MDB to an A07 format file. However, while some of the users have A07, many...
2
by: goo.one1 | last post by:
Hi All, I'm looking for info on how to port VC++ 6 code/projects to VC++ 9 (2008). I noticed that there is a converter built-in for Visual *BASIC* to convert from VS6 to 9... I have found...
2
by: Rex | last post by:
Hello, I am a Python programmer facing my first small XML project. I am looking to find a simple tool to take an XSD file and convert the XSD tree structure to another text format (e.g. an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.