On 08/18/2010 01:51 AM, Viacheslav Kriuchkov wrote:
> Hello all!
> 
> I created XML docutent on client side using
> XMLParser.createDocument(), add nodes, attributes, all works fine.
> After I need to access nodes by unique attribute. As I understand,
> getElementById is what I need, but before using it, my unique
> attribute should be registered in this document as ID. How I can do
> it, please?
> 
> Thank you,
> Viacheslav.
> 

<viacheslav id="viacheslav01">Viacheslav's 1st comment</viacheslav>
<viacheslav id="viacheslav02">Viacheslav's 2nd comment</viacheslav>

getElementById("viacheslav01");
or
getElementById("viacheslav02");

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to