title: Using XTemplate::YAMLDocument body: - section: title: YAML body: - YAML is a serialization format designed for human readability. Expansion data of XTemplate is straightforwardly represented in YAML format. - { raa: {"@name": yaml, ~: YAML4R} } - is a Ruby library to parse/load YAML documents. - section: title: XTemplate::YAMLDocument body: - XTemplate::YAMLDocument is a wrapper class for YAML document. - pre: | require 'xtemplate' require 'xtemplate/yaml' data = XTemplate::YAMLDocument.new(<