Chris - reviewed logic - not sure I understand what is wrong:

have attached a cut down XSL and XML file where the page nos are indicated by 
the Letter "T". As you can see the right alignment is still out. (ignore the 
overwriting of the text!)

-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED]
Sent: 29 June 2004 10:53
To: [EMAIL PROTECTED]
Subject: Re: page citation alignment issue


[EMAIL PROTECTED] wrote:

> Hi,
> 
> Yes I intend to split to another line after 5 citations. The non breaking 
> space is used only after each page citation i.e. 3, 4, 5
> 
> see below interim fop file snippet:
> 
> <fo:table-row>
> <fo:table-cell font-size="8" color="rgb(0%,0%,50.196%)" font-family="Arial">
> <fo:block>Consumer, Cyclical</fo:block>
> </fo:table-cell>
> <fo:table-cell font-size="8" color="rgb(0%,0%,50.196%)" font-family="Arial">
> <fo:block margin-right="0.02cm" text-align="right">
> <fo:page-number-citation ref-id="link.note.1" />
> <fo:wrapper>, </fo:wrapper>
> <fo:page-number-citation ref-id="link.note.6" />
> <fo:wrapper>, </fo:wrapper>
> <fo:page-number-citation ref-id="link.note.11" />
> <fo:wrapper>, </fo:wrapper>
> <fo:page-number-citation ref-id="link.note.15" />
> <fo:wrapper>, </fo:wrapper>
> <fo:page-number-citation ref-id="link.note.25" />, ?

I'm assuming the ? above is a ZWS character, which is where FOP breaks the 
line. There is also a space (which I think is nbsp, from looking at your code) 
between the comma and the ?. I believe this is causing the alignment problems. 
review your xsl logic.

<snip/>

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

<?xml version="1.0" encoding="UTF-8"?>
<?xmlspyxslfo C:\localcode\xmlsamples\table.xsl?>
<Table heading="Sectors in this issue" name="SectorsInIssueTable">
	<Rows>
		<Row label="Consumer, Non-Cyclical">
			<Value text="17"/>
		</Row>
		<Row label="Valuation &amp; Accounting">
			<Value text="5"/>
		</Row>
		<Row label="Consumer, Cyclical">
			<Value text="1"/>
			<Value text="6"/>
			<Value text="11"/>
			<Value text="15"/>
			<Value text="25"/>
			<Value text="29"/>
			<Value text="32"/>
			<Value text="34"/>
			<Value text="39"/>
			<Value text="42"/>
			<Value text="43"/>
		</Row>
		<Row label="Healthcare">
			<Value text="8"/>
			<Value text="35"/>
			<Value text="37"/>
			<Value text="48"/>
		</Row>
		<Row label="Technology">
			<Value text="2"/>
			<Value text="10"/>
			<Value text="12"/>
			<Value text="14"/>
			<Value text="16"/>
			<Value text="19"/>
			<Value text="21"/>
			<Value text="22"/>
			<Value text="23"/>
			<Value text="24"/>
			<Value text="27"/>
			<Value text="46"/>
		</Row>
		<Row label="Basic Materials">
			<Value text="18"/>
			<Value text="36"/>
		</Row>
		<Row label="Industrial">
			<Value text="20"/>
			<Value text="30"/>
			<Value text="31"/>
			<Value text="47"/>
		</Row>
		<Row label="Financial">
			<Value text="7"/>
			<Value text="13"/>
			<Value text="28"/>
			<Value text="38"/>
		</Row>
		<Row label="Energy">
			<Value text="9"/>
		</Row>
		<Row label="Telecommunications">
			<Value text="40"/>
			<Value text="41"/>
			<Value text="44"/>
			<Value text="45"/>
		</Row>
		<Row label="Quantitative">
			<Value text="3"/>
		</Row>
		<Row label="Equity Strategy and Economics">
			<Value text="4"/>
			<Value text="26"/>
			<Value text="33"/>
		</Row>
	</Rows>
</Table>

Attachment: table.xsl
Description: table.xsl

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to