Solved

how to draw a vertical line using xsl:fo?

Posted on 2004-03-22
3
1,159 Views
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.

regards
0
Comment
Question by:vihar123
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
dualsoul earned 100 total points
Comment Utility
use table with border-width=width of your line :)

0
 
LVL 15

Expert Comment

by:dualsoul
Comment Utility
wanna sample?
0
 
LVL 6

Expert Comment

by:metalmickey
Comment Utility
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">
and
 <fo:table-cell border-left="solid 1px black" padding="1pt">

or

<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.


MM
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to count occurrences of each item in an array.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now