Skip to content

Commit

Permalink
separate xpaths from algorithm code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgarrish committed Jan 12, 2025
1 parent 4f8a065 commit af5b3b7
Show file tree
Hide file tree
Showing 5 changed files with 450 additions and 307 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>DAISY Accessibility Metadata Viewer</title>
<link rel="stylesheet" type="text/css" href="css/viewer.css" />
<script src="js/xpaths.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion js/metaViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function processXML() {
}

else if (xml.match('<ONIXMessage ')) {
result = onixProcessor.processOnixRecord(xml);
result = onixProcessor.processOnixRecord(xml, 'onix');
}

else {
Expand Down
Loading

0 comments on commit af5b3b7

Please sign in to comment.