Re: [Sax-devel] Should I use sax?
Brought to you by:
dmegginson
From: Chris B. <d0...@hu...> - 2006-05-22 15:35:13
|
Roberto Cosenza wrote: > I have one more question: > Parsing a document which contains the fragment > <a href=3D"mylink.html" >mylink</a>, generates events also for the > a-attribute 'shape=3D"rect"', which is not given in input!! > Is there any way to turn this behavior off? It seems like the =20 > parser is > inserting some implicit attributes here and there... If your Attributes object can be cast to an Attributes2 (feature "use-=20= attributes2"), you can use the isSpecified method of Attributes2 to =20 determine whether you need to output this attribute explicitly. --=20 =E7=8A=AC Chris Burdess "They that can give up essential liberty to obtain a little safety deserve neither liberty nor safety." - Benjamin Franklin |