Name : ruby2.7-rubygem-ruby-xml-smart
| |
Version : 0.2.99.3
| Vendor : obs://build_opensuse_org/devel:languages:ruby
|
Release : lp156.2.1
| Date : 2024-06-21 11:35:34
|
Group : Development/Languages/Ruby
| Source RPM : rubygem-ruby-xml-smart-0.2.99.3-lp156.2.1.src.rpm
|
Size : 0.12 MB
| |
Packager : https://www_suse_com/
| |
Summary : easy to use and stable libxml2 binding
|
Description :
= XML::Smart - A Ruby class for fast and simple XML access Copyright (C) 2004-2012 Jürgen Mangler < juergen.manglerAATTunivie.ac.at> Ruby/XML/Smart is freely distributable according to the terms of the GNU Lesser General Public License (see the file \'COPYING\'). This program is distributed without any warranty. See the file \'COPYING\' for details. == Installation This is just a transitional package intended to require the nokogiri based version of xml-smart. == Documentation View the examples in the ./examples subdirectory. In the ./examples/Visualise subdirectory you can find a simple XPath visualiser. Never try to mix this module with other libxml bindings, or you will get nasty segfaults. == SYNOPSIS TO CHANGE A FILE ON THE DISK require \'xml/smart\' XML::Smart.modify(File.dirname($0) + \"/EXAMPLE.xml\") { |doc| node = doc.find(\"/test/names\").first node.add(\"test_node\",{\"attr\" => 12}, \"Muahaha\") node.add(\"test_node\", \"Muahaha\", \"attr\" => 13) node.add(\"test_node\", \"attr\" => 14) node.add(\"test_node\", \"Muahaha\") node.add(\"test_node\") } == SYNOPSIS TO QUERY A FILE require \'xml/smart\' doc = XML::Smart.open(File.dirname($0) + \"/EXAMPLE.xml\") node = doc.find(\"/test/names\").first puts = node.find(\"string(name)\").
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/ruby:/extensions/15.6/x86_64 |