Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about AttributeList interface

 
Lou Rappal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi XML gurus,
I have a simple java program to parse a xml file like this..
<student id="123">
<name>Lou</name>
</student>

I need to create an attribute list and pass it to
the this method...
startElement (tagName, attrList)
In this example, the first tagName is "student", and Attribute list is id="123".
please tell me how to construct an attribute list and pass it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic