regards:
How to use HTMLParser to lowercase some specific tags? ^_^
thank you May god be with you
The name is just the first attribute:
Vector attributes; Attribute attribute;
attributes = tag.getAttributesEx ();
attributes = tag.getAttributesEx (); attribute = (Attribute)attributes.elementAt (0); attribute.setName (attribute.getName ().toLowerCase ());
How you find the tags is up to you, either a filter or a visitor or custom tags.
Log in to post a comment.
regards:
How to use HTMLParser to lowercase some specific tags?
^_^
thank you
May god be with you
The name is just the first attribute:
Vector attributes;
Attribute attribute;
attributes = tag.getAttributesEx ();
The name is just the first attribute:
Vector attributes;
Attribute attribute;
attributes = tag.getAttributesEx ();
attribute = (Attribute)attributes.elementAt (0);
attribute.setName (attribute.getName ().toLowerCase ());
How you find the tags is up to you, either a filter or a visitor or custom tags.