how to draw a vertical line using xsl:fo?

Posted on 2004-03-22
Last Modified: 2013-11-18
how to draw a vertical line using xsl:fo?

i can draw a horizontal line using fo:leader property.

any idea?

thanks for your help.

Question by:vihar123
  • 2
LVL 15

Accepted Solution

dualsoul earned 100 total points
ID: 10652754
use table with border-width=width of your line :)

LVL 15

Expert Comment

ID: 10652761
wanna sample?

Expert Comment

ID: 10656203
I think Dualsoul is correct with setting the border-left or border-right property in an fo:table, or using it at  fo:table-cell level, although i think you can do it at block level too.

(you have to build the table first)
 <fo:table-cell border-right="solid 1px black" padding="1pt">
 <fo:table-cell border-left="solid 1px black" padding="1pt">


<fo:block  border-right="solid 1px black">your stuff</fo:block>

<fo:block  border-left="solid 1px black">your stuff</fo:block>

if you're planning to use this method to build several columns, dualsouls use of the table is more acurate that setting the property at block level, as its easier to keep the columns the same width.


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP and Soap 3 64
Facebook React and SyntheticEvents 6 76
ebay devID, appID, certID, userToken 2 81
XML Node Counting in MS Access VBA 4 56
Preface In the first article: A Better Website Login System ( I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to count occurrences of each item in an array.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question