Method: Fabulator::TagLib::Format#get_root_namespaces
- Defined in:
- lib/fabulator/tag_lib/transformations.rb
#get_root_namespaces ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/fabulator/tag_lib/transformations.rb', line 52 def get_root_namespaces if !@xslt_doc.nil? # extract namespace declarations from root element ret = [ ] @xslt_doc.root.namespaces.each { |ns| ret << ns.href } ret else [] end end |