[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Positioning labels in FOP

Subject: Positioning labels in FOP
From: <jmeyer2@xxxxxxxxx>
Date: Sun, 13 Nov 2005 14:18:07 +0100
fop positioning
I want to position label-text in the left margin of the page at the left of the containing paragraph:

XML example:
<para>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor <label>This is a label</label>incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</para>

Page example:
+------------------------------+
|                              |
|        Xxxx xxxxx xxxxx xx   |
| label  xxxxxx xxxx xx xxxxx x|
|        xxx xx xxxxx xxx xxx  |
|        xxxx xx xxxxx.        |
|                              |
+------------------------------+


In HTML/CSS this is simple with labels marked with <span>:
span {
    display : block;
    width : 11em;
    position : absolute;
    left : 0.5em;
}

How can I get this in XSL?
Is this possible with FOP?

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.