lib/ddr/models/struct_div.rb in ddr-models-3.0.0.beta.1 vs lib/ddr/models/struct_div.rb in ddr-models-3.0.0.beta.2
- old
+ new
@@ -41,10 +41,10 @@
end
private
def fptr_pids(div_node)
- div_node.xpath('xmlns:fptr').map { |fptr_node| fptr_node["CONTENTIDS"].gsub('info:fedora/', '') }
+ div_node.xpath('xmlns:fptr').map { |fptr_node| fptr_node["CONTENTIDS"] }
end
def subdivs(structmap_or_div_node)
structmap_or_div_node.xpath('xmlns:div').map { |div_node| Ddr::Models::StructDiv.new(div_node) }
end
\ No newline at end of file