[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] position= and blocks (was And operator usage in XSL)


Subject: Re: [xsl] position= and blocks (was And operator usage in XSL)
From: "john farrow" <fomailinglist@xxxxxxxxxx>
Date: Thu, 29 Jul 2004 11:01:59 +1200

> So while it's interesting academically to know what relative-position
> *should* do, in practice it has no utility because you'd never use it
> anyway.

I have a question.  If you don't use relative-position, how would you
position one block over another, for instance if you wanted to position some
text over an image, and you wanted this to occur in the normal flow on a
page ?

Thanks

John

----- Original Message ----- 
From: "Eliot Kimber" <ekimber@xxxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, July 29, 2004 10:34 AM
Subject: Re: [xsl] position= and blocks (was And operator usage in XSL)


> > However, reading the description relative-position I'm not 100% clear
> > what it means for blocks. My initial reading is that it has no effect
> > but I also grant that the description is confusing at best.
> >
> > Doing an experiment with XEP 3.77 and XSL Formatter 2.5 it appears that
> > relative-position has no effect on blocks. My test instance is below.
> > The first two blocks format the same with XSL Formatter. With XEP, the
> > second block is only 2in wide (the 1.0 spec is ambiguous about whether
> > width= is meaningful on fo:block). The second two blocks are formatted
> > with identical positioning by both formatters.
>
> I suspect that the reason this has never come up is that the way to
> position things in XSL-FO with block-container.
>
> So while it's interesting academically to know what relative-position
> *should* do, in practice it has no utility because you'd never use it
> anyway.
>
> I suspect that the relative-position property is a CSS hold over that
> was supplanted by block-container relatively late in the development of
> XSL-FO 1.0. But I'm only guessing.
>
> Cheers,
>
> Eliot
> -- 
> W. Eliot Kimber
> Professional Services
> Innodata Isogen
> 9030 Research Blvd, #410
> Austin, TX 78758
> (512) 372-8122
>
> eliot@xxxxxxxxxxxxxxxxxxx
> www.innodata-isogen.com


Current Thread
Keywords
xsl