Class Nokogiri::XML::Schema
In: lib/nokogiri/xml/schema.rb
lib/nokogiri/ffi/xml/schema.rb
ext/nokogiri/html_document.c
Parent: Object

In case someone passes us a node. ugh.

Methods

Attributes

errors  [RW]  Errors while parsing the schema file

Public Class methods

Create a new Nokogiri::XML::Schema object using a string_or_io object.

Create a new Schema from the contents of string

Public Instance methods

Returns true if thing is a valid Nokogiri::XML::Document or file.

Validate thing against this schema. thing can be a Nokogiri::XML::Document object, or a filename. An Array of Nokogiri::XML::SyntaxError objects found while validating the thing is returned.

Validate a file against this Schema.

[Validate]