Re: [Htmlparser-user] Problem in HTMLTag::setAttribute
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2003-02-19 16:41:12
|
> May I know what is the key for each attribute in <a> tag ? Usually href but you could get all the keys like this : for (Enumeration keys = tag.getAttributes().keys(); keys.hasMoreElements();) { String key = (String)keys.nextElement(); String value = tag.getAttribute(key); //... } > I've been trying to modify HTML tags and attributes but it doesnt work > pretty well If you show your code and tell us whats not working, we might be able to help. Regards, Somik |