-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I have XML like this:
<bibl n="16.3" xml:id="L0228" type="S_2_Drama_D._DRAMA" status="TEI-0">
<graphic url="https://lb42.github.io/Lacy/media/teiLogo.jpg"></graphic>
<ref target="https://lb42.github.io/Lacy/L0228.html">L0228 </ref>
<ref target="https://raw.githubusercontent.com/lb42/Lacy/main/TEI/L0228.xml">
<graphic url="https://lb42.github.io/Lacy/media/teiLogo.jpg"/> ... </ref>
<author>Johnstone, J.B.</author><title type="main" n="benbolt">Ben Bolt</title>
</bibl>
which contains, as you see, two <graphic> elements. However, when I try to display this with my fairly vanilla ceteicean file (see below)
- the first graphic is displayed
- the first ref is transformed to an HTML link with the content "L0228"
- the second ref is transformed to an HTML link with the content "..." only -- no sign of the graphic.
[Github won't let me add an HTML file, so here it is
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/metaLacy.css" media="screen" title="wot no title" />
<script src="js/CETEI.js" ></script>
<script>
var ceteicean = new CETEI();
ceteicean.shadowCSS = "css/metaLacy.css"
ceteicean.getHTML5(
'https://raw.githubusercontent.com/lb42/Lacy/main/catalogueTest.xml', function(data) {
document.getElementsByTagName("body")[0].appendChild(data);
});
</script>
<title>Lacy's Acting Edition</title>
</head>
<body>
</body>
</html>
Metadata
Metadata
Assignees
Labels
No labels