I'm currently doing footers like this css (simplified):
footer {string-set: v_footer content();}
@page{
@bottom{
content:string(v_footer);
}
}
I remember there is some property that allows me to select the *last* <footer> tag on the page for use as that page's footnote, instead of the first. Can you remind me what this property is?
For example, I might have some xml:
<lesson display="no">
<title>Lesson 1</title>
<footer>I don't want this footer to display</footer>
</lesson>
<lesson display="yes">
<title>Alternate Lesson 1</title>
<footer>I want this footer to display</footer>
</lesson>
And I want the correct footer to display. (right now it displays the first one, even though the entire lesson with attribute display="no" is set to display:none, which makes sense still, but I would like to use the other footer...)
Thanks
Ben
footer {string-set: v_footer content();}
@page{
@bottom{
content:string(v_footer);
}
}
I remember there is some property that allows me to select the *last* <footer> tag on the page for use as that page's footnote, instead of the first. Can you remind me what this property is?
For example, I might have some xml:
<lesson display="no">
<title>Lesson 1</title>
<footer>I don't want this footer to display</footer>
</lesson>
<lesson display="yes">
<title>Alternate Lesson 1</title>
<footer>I want this footer to display</footer>
</lesson>
And I want the correct footer to display. (right now it displays the first one, even though the entire lesson with attribute display="no" is set to display:none, which makes sense still, but I would like to use the other footer...)
Thanks
Ben