method
parse_attr
v1_8_6_287 -
Show latest stable
- Class:
WSDL::XMLSchema::Include
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