Project

sts

0.0
The project is in a healthy, maintained state
Library to work with NISO STS and ISOSTS.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Ruby library for NISO STS and ISOSTS

Purpose

The sts Ruby gem allows you to work with NISO STS (0.2+) and ISOSTS documents.

Note
This is a work-in-progress.

This library now parses the reference TBX-ISO-TML version 1.1 sample file in the NISO STS format (tbx-nisosts-0.2.xml).

Library

Usage

The following code parses a NISO STS XML document.

require 'sts'
doc = IO.read('spec/fixtures/tbx-nisosts-0.2.xml')
sts = Sts::NisoSts::Standard.from_xml(doc)
puts sts.to_xml(pretty: true)
# => STS file round-tripped

Credits

This gem is developed, maintained and funded by Ribose Inc.

License

The gem is available as open source under the terms of the 2-Clause BSD License.