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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to construct attribute list
 
Similar Threads
question about AttributeList interface
SAX parsing question
How to modify the XML Document?
How to update the xml tag attributes for the given tag
problem while starting jboss5.0