First of all thanks for such a quick reply. Question: I) Just (a|b|c) Does this mean it can have a b c Can it also have ab ac bc Can it have in reverse order like ba ca cb II) For (a|b|c)* Are these valid? c ccb ccbccbbaac ... Does that mean that "a" or "b" or "c" can appear any number of times in any order? Thx for your patience
Thanks for all your response, Especially to Valentin Crettaz. . Actually my doubt was for the #PCDATA appearing in between each tag. My understanding is * means, the one mentioned in "(" to ")" can appear 0 to n times. And "(#PCDATA | name | orderid | shipdate)" implies that any one of them can appear. i.e. #PCDATA or name or orderid or shipdate in an XML instance.
I have a JList and JTextArea. When I choose a value in my ListBox it must automatically change my JTextArea value. This is not happening!!!. I have pasted my code. Can anyone please look into and find out the bug.