Right Align table Template in other table cell

Hi

I have a xsl template, a table.
Then I have another Table, where I call the template in a cell.

BUT, Is it not possible to align the template in the cell.
Like Right align horizontal...

Thanks
conceptdataAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gertone (Geert Bormans)Information ArchitectCommented:
not enough context.
Is this XSL-FO, can you show some code?
0
conceptdataAuthor Commented:
<xsl:call-template name="Template1">
</xsl:call-template>

The Template is a table ..

0
Gertone (Geert Bormans)Information ArchitectCommented:
Serious please, read the question, do you really think there is enough context to answer this?

"The template is a table" is something that does not make sense

Please give more detail on
- the source XML
- the XSLT
- what exactly you are trying to achieve

In other words, if you want an answer to your question, make sure there is a question
0
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

conceptdataAuthor Commented:
I'm using the program XSLfast.

I have attached a export from my xslfast project, and the xml file...


STYLES01.xml
tmp.xsl
0
Gertone (Geert Bormans)Information ArchitectCommented:
Well, you can right align content in a table cell in FO, without a problem
here is what you have in your stylesheet on line 217
<?xml:namespace prefix = fo />
<fo:block position="relative" text-align="center" color="#000000" font-family="Helvetica" font-size="6.0pt" font-weight="bold" white-space-collapse="false" linefeed-treatment="preserve" white-space-treatment="ignore-if-surrounding-linefeed" hyphenate="true" language="en" display-align="center"><xsl:value-of disable-output-escaping="no" select="$pivotCellValue"/>


in order to make that right-align, do this
<?xml:namespace prefix = xsl />
<fo:block position="relative" text-align="right" color="#000000" font-family="Helvetica" font-size="6.0pt" font-weight="bold" white-space-collapse="false"  linefeed-treatment="preserve" white-space-treatment="ignore-if-surrounding-linefeed"  hyphenate="true" language="en"  display-align="center"><xsl:value-of disable-output-escaping="no" select="$pivotCellValue"/>

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gertone (Geert Bormans)Information ArchitectCommented:
in order to be selective on where you want the columns to be right-aligned, you need to change the XSLT for that
I don't have a high opinion of XSLfast, specially not the XSLT it generates, it is highly unflexible
The best option I believe is changing the XSLT after xslfast designed it, but even then, I am not very sure about the quality.
It might be that for you purposes, you draw some ideas from an initial FO setup through fastxsl,
but develop teh XSLT for the real work afterwards by hand

Well, your original question was
> BUT, Is it not possible to align the template in the cell.
> Like Right align horizontal...

Answer, yes you can, by changing the XSLT, as I showed in my previous comment
0
conceptdataAuthor Commented:
It solved the problem partical.
I was abble to put it in my xslfast template ..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.