lib/ddr/models/structure.rb in ddr-models-2.4.7 vs lib/ddr/models/structure.rb in ddr-models-2.4.8
- old
+ new
@@ -15,10 +15,14 @@
def structMap_node(type='default')
xpath("//xmlns:structMap[@TYPE='#{type}']").first
end
+ def fptr_nodes(type='default')
+ structMap_node(type).xpath('//xmlns:fptr')
+ end
+
def as_xml_document
__getobj__
end
private
@@ -47,6 +51,6 @@
end
end
end
end
-end
\ No newline at end of file
+end