aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "how to construct attribute list" Watch "how to construct attribute list" New topic
Author

how to construct attribute list

Lou Rappal
Greenhorn

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">
<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
 
subject: how to construct attribute list