I can get target-counter to work using PrinceXML through the console command-line just fine, but if I use the exact same code in our real app, and send it to the back-end service, it does not work. I've tried giving it more specific CSS (an ID instead of a class, etc.) and many other things, but I cannot get anything to come through.
Has anyone experienced this kind of problem? It's an Angular 7 app. I'm about to get counter(page) to come through, but I need target-counter for my table of contents. Advice would be greatly appreciated.
The code I use is:
<style>
.bodymatter a::after { content: leader('.') target-counter(attr(href url), page, decimal);
</style>
<nav>
<ul>
<li class="bodymatter"><a href="#page02">Page Two</a></li>
<li class="bodymatter"><a href="#page03">Page Three</a></li>
<li class="bodymatter"><a href="#page04">Page Four</a></li>
</ul>
</nav>
Has anyone experienced this kind of problem? It's an Angular 7 app. I'm about to get counter(page) to come through, but I need target-counter for my table of contents. Advice would be greatly appreciated.
The code I use is:
<style>
.bodymatter a::after { content: leader('.') target-counter(attr(href url), page, decimal);
</style>
<nav>
<ul>
<li class="bodymatter"><a href="#page02">Page Two</a></li>
<li class="bodymatter"><a href="#page03">Page Three</a></li>
<li class="bodymatter"><a href="#page04">Page Four</a></li>
</ul>
</nav>