Solved

how to draw a vertical line using xsl:fo?

Posted on 2004-03-22
3
1,400 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: 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

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

717 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