File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Soft Skills this week in the Jobs Discussion 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