This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to construct attribute list

 
Lou Rappal
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am an xml beginner. I write a simple parser using java to validate xml document using the following grammer.
Stag ::= '<' Name (S Attribute)* S? '>'
Attribute ::= Name eq AttrValue
<student id="123">
<name>Louis<name>
</student>
how to construct an Attribute list object (name, value)and pass it to my SAX event..?
startElement (String name, AttributeList att)
{
}
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic