This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

question about AttributeList interface  RSS feed

 
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
Boost this thread!