Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Fallback for indent aligned table that overflows?

Reply
Thread Tools

Fallback for indent aligned table that overflows?

 
 
=?iso-8859-1?q?Jean-Fran=E7ois_Michaud?=
Guest
Posts: n/a
 
      06-28-2006
Hello everybody,

I'm having a little issue with tables. I want to align it according to
the left indent, but if the table is too wide, I want to fall back on a
right align. How do I detect if an error occured so I can output the
table properly?

Regards
Jean-Francois Michaud

 
Reply With Quote
 
 
 
 
Peter Flynn
Guest
Posts: n/a
 
      07-03-2006
Jean-François Michaud wrote:
> Hello everybody,
>
> I'm having a little issue with tables. I want to align it according to
> the left indent, but if the table is too wide, I want to fall back on a
> right align. How do I detect if an error occured so I can output the
> table properly?


What software (editor) are you using?
What XML document type are you using (name of the DTD or Schema)?
What table model does it use (HTML, DocBook, SAS...)?

///Peter
--
XML FAQ: http://xml.silmaril.ie/
 
Reply With Quote
 
 
 
 
=?iso-8859-1?q?Jean-Fran=E7ois_Michaud?=
Guest
Posts: n/a
 
      07-03-2006
I'm transforming XML + XSLT to PostScript through RenderX XEP 4.6. The
XSLT uses some RenderX specific extensions when dealing with revision
indicators.

The editor used is open-source VEX using a custom DTD and CSS.

The tables get rendered properly when .ps is transformed to .pdf, we
have all the information needed in the custom table model we use to
render tables correctly. The issue is more with the layout engine and
XSLT it seems to me.

I fail to see why knowing which table model is used is relevant in the
context of a mechanism being available to output tables properly if
they happen to overflow on the right margin because they are indent
aligned.

I basically need an error catch mechanism of sort or some similar
process to output tables right aligned instead of indent aligned if
indent align overflows on the right margin.

Regards
Jean-Francois Michaud

Peter Flynn wrote:
> Jean-François Michaud wrote:
> > Hello everybody,
> >
> > I'm having a little issue with tables. I want to align it according to
> > the left indent, but if the table is too wide, I want to fall back on a
> > right align. How do I detect if an error occured so I can output the
> > table properly?

>
> What software (editor) are you using?
> What XML document type are you using (name of the DTD or Schema)?
> What table model does it use (HTML, DocBook, SAS...)?
>
> ///Peter
> --
> XML FAQ: http://xml.silmaril.ie/


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
gnu indent: how to avoid extra indent? dt C Programming 4 12-31-2006 11:31 AM
table vertically aligned centre on page ? CRON HTML 9 10-28-2006 03:10 PM
Fallback bedween a Laserlink and a HDSL modem line C Cant Cisco 1 04-12-2005 06:59 PM
Fallback bedween a Laserlink and a HDSL modem line C Cant Cisco 1 04-12-2005 01:31 PM



Advertisments