Ruby REXML::AttlistDecl Functions
EditRocket provides the following information on REXML::AttlistDecl functions in the Ruby source code builder.
each(&block) - "Itterate over the key/value pairs:"
include?(key) - Whether an attlist declaration includes the given attribute definition
new(source) - Create an AttlistDecl, pulling the information from a Source. Notice that this isn't very convenient; to create an AttlistDecl, you basically have to format it yourself, and then have the initializer parse it. Sorry, but for the forseeable future, DTD support in REXML is pretty weak on convenience. Have I mentioned how much I hate DTDs?
write(out, indent=-1) - Write out exactly what we got in.