# HG changeset patch # User Nicholas Jillings # Date 1437567730 -3600 # Node ID 2d99d8888b0ab5593312c2116c7020bce880689c # Parent 30d5aa52b03451c8c2fbea14b63271de1072c320 Anchor and Reference audioElements now tagged on output diff -r 30d5aa52b034 -r 2d99d8888b0a core.js --- a/core.js Wed Jul 22 12:41:22 2015 +0100 +++ b/core.js Wed Jul 22 13:22:10 2015 +0100 @@ -936,6 +936,11 @@ if (this.specification.type != 'outsidereference') { root.appendChild(this.interfaceDOM.exportXMLDOM(this)); root.appendChild(this.commentDOM.exportXMLDOM(this)); + if(this.specification.type == 'anchor') { + root.setAttribute('anchor',true); + } else if(this.specification.type == 'reference') { + root.setAttribute('reference',true); + } } root.appendChild(this.metric.exportXMLDOM()); return root;