Sha256: 22a155c34c2321c33efe634821882de671df06cb092671f4fe0543ac611e13bd

Contents?: true

Size: 733 Bytes

Versions: 2

Compression:

Stored size: 733 Bytes

Contents

Known Bugs

* I have to deal with dup's, clone's and new's for XML::Smart::DOM::*
  
  require 'xml/smart'
  require 'date'

  xmldoc = XML::Smart.open('crasher.xml')
  xpath = '/eveapi/currentTime/text()'
  text_str = xmldoc.root.find(xpath)[0]
  puts DateTime.parse(text_str)
  # or text_str.dup

  ########################
  <?xml version='1.0' encoding='UTF-8'?>
  <eveapi version="2">
    <currentTime>2008-10-10 02:40:49</currentTime>
  </eveapi>

Todo + Ideas:

* add apply_style to dom (apply xslts) - keep in touch with Ken Wronkiewicz <wh at wirewd dot com> 
  who is interessted in this (I don't like the API's from Gregoire Lejeune but they are usable)
* create detailed documention, not only examples
* create unit test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-xml-smart-0.1.12.1-i486-linux TODO
ruby-xml-smart-0.1.12-i486-linux TODO