Class: LibXML::XML::Schema::Attribute

### Home Classes Methods

### In Files

- lib/libxml/schema/attribute.rb

### Parent

Object

### Methods

- #default
- #required?

### Class/Module Index

Quicksearch

- LibXML
- LibXML::XML
- LibXML::XML::Attr
- LibXML::XML::AttrDecl
- LibXML::XML::Attributes
- LibXML::XML::Document
- LibXML::XML::Error
- LibXML::XML::HTMLParser
- LibXML::XML::Namespace
- LibXML::XML::Namespaces
- LibXML::XML::Node
- LibXML::XML::Parser
- LibXML::XML::Reader
- LibXML::XML::SaxParser
- LibXML::XML::SaxParser::Callbacks
- LibXML::XML::SaxParser::VerboseCallbacks
- LibXML::XML::Schema
- LibXML::XML::Schema::Attribute
- LibXML::XML::Schema::Element
- LibXML::XML::Schema::Namespaces
- LibXML::XML::Schema::Type
- LibXML::XML::Schema::Types
- LibXML::XML::XPath
- LibXML::XML::XPath::Object
- Object

No matching classes.

# LibXML::XML::Schema::Attribute

### Constants

OPTIONAL
REQUIRED

### Public Instance Methods

default() click to toggle source

    # File lib/libxml/schema/attribute.rb, line 8
    def default
      node['default']
    end

required?() click to toggle source

    # File lib/libxml/schema/attribute.rb, line 12
    def required?
      occurs == REQUIRED
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.