File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes how to construct attribute list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "how to construct attribute list" Watch "how to construct attribute list" New topic

how to construct attribute list

Lou Rappal

Joined: Feb 14, 2002
Posts: 5
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">
how to construct an Attribute list object (name, value)and pass it to my SAX event..?
startElement (String name, AttributeList att)
Consider Paul's rocket mass heater.
subject: how to construct attribute list
It's not a secret anymore!