class XSD::XMLParser::Nokogiri

Nokogiri XML parser for soap4r.

Nokogiri may be used as the XML parser in soap4r. Require ‘xsd/xmlparser/nokogiri’ in your soap4r applications, and soap4r will use Nokogiri as its XML parser. No other changes should be required to use Nokogiri as the XML parser.

Example (using UW ITS Web Services):

require 'rubygems'
require 'nokogiri'
gem 'soap4r'
require 'defaultDriver'
require 'xsd/xmlparser/nokogiri'

obj = AvlPortType.new
obj.getLatestByRoute(obj.getAgencies.first, 8).each do |bus|
  p "#{bus.routeID}, #{bus.longitude}, #{bus.latitude}"
end