[Home] [By Thread] [By Date] [Recent Entries]

  • From: "SUS S. Sunkannavar" <sanjeev.sunkannavar@o...>
  • To: "'xml-dev@l...'" <xml-dev@l...>
  • Date: Thu, 27 Sep 2001 15:10:04 +0200

Hi,

I want to use the method getElementById( String elementId) on Document
object.

How can I specify that a particular attibute of an element is an unique ID
to a DOM parser?

For eg:

 < Book isbn="1234">
	<name>abc</name>
	.....
</Book>

Here for Book element I want to specify isbn as an unique attribute. 
I want to retrieve Book elements using getElementById(...) method.

Thanks in advance.
Regards
Sanjeev

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member