xml to PDF transformation process interrupted due to footnotes
Posted: Mon Nov 08, 2021 7:57 pm
Hello,
my problem is that when I apply the xml to PDF transformation scenario, the process interrupts when it encounters a <note> element inside another <note>. This is understandable if there are two footnotes involved.
But I don't understand why if an element that has as tag <note type="editorial-comment"> (to which float: footnote has been applied) is inside an element <note type="inscription"> (to which no footnote style is applied) it stops the transformation process and gives an error.
Even though they are two <note> elements, they have different styles on the stylesheet. One is a footnote, the other is not.
This is the code:
These are the CSS rules:
Can you help me find a solution?
Thank you.
Michela
my problem is that when I apply the xml to PDF transformation scenario, the process interrupts when it encounters a <note> element inside another <note>. This is understandable if there are two footnotes involved.
But I don't understand why if an element that has as tag <note type="editorial-comment"> (to which float: footnote has been applied) is inside an element <note type="inscription"> (to which no footnote style is applied) it stops the transformation process and gives an error.
Even though they are two <note> elements, they have different styles on the stylesheet. One is a footnote, the other is not.
This is the code:
Code: Select all
<note type="inscription" place="margin left" anchored="false">Ex epistolis Ana cleti papae. Cap. xi<note type="editorial-comment">some comments here</note></note>
Code: Select all
note[type="inscription"] {
display: inline;
font-size: smaller;
}
note[type="editorial-comment"] {
color: black;
float: footnote;
}
note[type="editorial-comment"]:footnote-call {
font-weight: bold;
color:black;
}
note[type="editorial-comment"]:footnote-marker {
font-weight: bold;
color:black;
}
Thank you.
Michela