• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home » Resolved: Dotted underline in XSL-FO

Resolved: Dotted underline in XSL-FO

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I would like to have dotted underline words using XSL-FO.
I am able to underline the words using a template but not make the line dotted.
Here is the template that I am using:
And this is how I apply it on my words:
Is there a parameter to make dotted underlines in XSL-FO?

Answer:

The values supported for text-decoration do not include anything for dotted lines:

none | [ [ underline | no-underline] || [ overline | no-overline ] || [ line-through | no-line-through ] || [ blink | no-blink ] ] | inherit


You may be able to get close to the desired affect via border-bottom-style:
Side note: Be sure to account for namespaces properly – your template is matching db:link yet the example you show is link. Depending on the default namespaces in play and the definition of the db namespace prefix, you may have a matching issue to address too.

If you have better answer, please add a comment about this, thank you!

xml xsl-fo xslt
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: how to get and read an xml file in a zip file using xml.etree

02/04/2023

Resolved: The ‘Access-Control-Allow-Origin’ header contains multiple values ‘*, *’, but only one is allowed. cors error not resolving

02/04/2023

Resolved: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘crm.email’ doesn’t exist (Connection: mysql, SQL: select count(*) as aggregate from `email`

02/04/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.