Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
prasad_ulagappan2
Contributor
0 Kudos

import

java.io.;</P><O:P></O:P><PRE> lang=EN style="COLOR: black; FONT-FAMILY: 'Book Antiqua'"><FONT face=Batang>import org.xml.sax.;  emit("<"eName);</FONT></CODE></PRE><O:P></O:P><PRE><CODE> lang=EN style="COLOR: black; FONT-FAMILY: 'Book Antiqua'"><FONT face=Batang>  if (attrs != null) {</FONT></CODE></PRE><O:P></O:P><PRE><CODE> lang=EN style="COLOR: black; FONT-FAMILY: 'Book Antiqua'"><FONT face=Batang>    for (int i = 0; i < attrs.getLength(); i) {</FONT></CODE></PRE><O:P></O:P><PRE><CODE> lang=EN style="COLOR: black; FONT-FAMILY: 'Book Antiqua'"><FONT face=Batang>      String aName = attrs.getLocalName(i); // Attr name</FONT></CODE></PRE><O:P></O:P><PRE><CODE> lang=EN style="COLOR: black; FONT-FAMILY: 'Book Antiqua'"><FONT face=Batang>      if ("".equals(aName)) aName = attrs.getQName(i);</FONT></CODE></PRE><O:P></O:P><PRE><CODE> lang=EN style="COLOR: black; FONT-FAMILY: 'Book Antiqua'"><FONT face=Batang>      emit(" ");</FONT></CODE></PRE><O:P></O:P><PRE><CODE> lang=EN style="COLOR: black; FONT-FAMILY: 'Book Antiqua'"><FONT face=Batang>      emit(aName"=\""attrs.getValue(i)"\"");  emit("</"eName">");</CODE>important<CODE> style="FONT-FAMILY: 'Book Antiqua'">

9 Comments