element to see if it supports an attribute named
name
.
dtdIsAttribute(name, element, dtd)
element.
name
.
This does indicate what type of value
that attribute has, whether it is required, implied,
fixed, etc.
Duncan Temple Lang
http://www.w3.org/XML, http://www.jclark.com/xml, http://www.omegahat.org
dtdFile <- system.file("exampleData", "foo.dtd", package="XML")
foo.dtd <- parseDTD(dtdFile)
# true
dtdIsAttribute("numRecords", "dataset", foo.dtd)
# false
dtdIsAttribute("date", "dataset", foo.dtd)