method

parse_attr

ruby latest stable - Class: WSDL::XMLSchema::Include

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

parse_attr(attr, value)
public

No documentation available.

# File lib/wsdl/xmlSchema/include.rb, line 31
  def parse_attr(attr, value)
    case attr
    when SchemaLocationAttrName
      @schemalocation = URI.parse(value.source)
      if @schemalocation.relative?
        @schemalocation = parent.location + @schemalocation
      end
      @content = import(@schemalocation)
      @schemalocation
    else
      nil
    end
  end