Solved

how to draw a vertical line using xsl:fo?

Posted on 2004-03-22
3
1,225 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
ID: 10652754
use table with border-width=width of your line :)

0
 
LVL 15

Expert Comment

by:dualsoul
ID: 10652761
wanna sample?
0
 
LVL 6

Expert Comment

by:metalmickey
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">
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
website content maintenance 3 93
XSLT list item selection criteria not working 12 30
Re-position the objects 7 109
XSLT XML 4 19
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

786 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