Thank you Igor for yur reply, let me eloborate what I intend to do:) I HAVE TO READ THE DTD, DISPLAY THE NODES OF DTD(JUST LIKE TREEWALKER DOES IN THE SAMPLES) BUT THERE IS NO XML INSTANCE IT IS JUST THE DTD.
In other words, when I parse the dtd I get the document, how do I access the elements in the DTD and display them? I tried the samples(IteratorView.java with the personal.dtd, it just displays the root element(document). Regards, Vivek --- Igor PARTL <[EMAIL PROTECTED]> wrote: > Hi! > > > On Mon, Nov 26, 2001 at 04:06:07PM -0800, vivek > bodhraj wrote: > > > Is there a way to display dtd on the scrollpane > using > > swing? I have to manipulate the nodes on the dtd. > > Thinking about your problem I suggest: > - For each element of your dtd a jtree with thew > possible elements. > The several cardinalities (+, *, ?...) you can > represent through > different icons. > - All element-trees are child of one root-jtree, > which stands for the > complete dtd. > > So you can display all element in one jtree. > > I hope, I have understood you question in the right > way. > > > Igor PARTL > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
