Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getElementsByTagName method

807605Aug 7 2007 — edited Aug 8 2007
Hi ,
Would be possible to get String= '?'CLS where '?' could be any character ,using the following statement?
NodeList nl= element.getElementsByTagName(String);

that is can I do a wildcard search of all nodes to get the nodes, whose names end with CLS (the frst character could be anything)

if not? is there any other way to retrieve the nodes, ..
I would not know before hand what the first charcater would be.

any help would be appreciated
thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2007
Added on Aug 7 2007
4 comments
144 views