class LibXML::XML::Schema::Attribute
Constants
- OPTIONAL
- REQUIRED
Attributes
name[R]
namespace[R]
occurs[R]
type[R]
value[R]
Public Instance Methods
default()
click to toggle source
# File lib/libxml/schema/attribute.rb, line 9 def default node['default'] end
node()
click to toggle source
static VALUE rxml_schema_attribute_node(VALUE self) { xmlSchemaAttributeUsePtr attr; Data_Get_Struct(self, xmlSchemaAttributeUse, attr); return rxml_node_wrap(attr->node); }
required?()
click to toggle source
# File lib/libxml/schema/attribute.rb, line 13 def required? occurs == REQUIRED end