From 4236b58ed1e5448b0ce43b87bf6b5df585db2a32 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 16 Aug 2015 15:59:55 +0100 Subject: Don't include colon when using curly brace syntax for node names --- lib/docx/relationships-reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/docx/relationships-reader.js') diff --git a/lib/docx/relationships-reader.js b/lib/docx/relationships-reader.js index 7cae534..7747bda 100644 --- a/lib/docx/relationships-reader.js +++ b/lib/docx/relationships-reader.js @@ -4,7 +4,7 @@ exports.readRelationships = readRelationships; function readRelationships(relationshipsXml) { var relationships = {}; relationshipsXml.root.children.forEach(function(child) { - if (child.name === "{http://schemas.openxmlformats.org/package/2006/relationships}:Relationship") { + if (child.name === "{http://schemas.openxmlformats.org/package/2006/relationships}Relationship") { relationships[child.attributes.Id] = { target: child.attributes.Target }; -- cgit v1.2.3