Re: [xep-support] Emulating an inline table

From: G. Ken Holman (
Date: Wed Sep 24 2003 - 16:52:18 PDT

  • Next message: Louis Meigret: "Re : "[xep-support] Emulating an inline table""

    At 2003-09-24 17:54 -0500, Louis Meigret wrote:
    >I would like to emulate an inline table that could be mixed in the midst
    >of a text paragraph.
    >Mandate for __________________ , a registered doctor.
    > (name of person)

    This is one of the purposes for <inline-container> so that one can add
    block-level constructs in the middle of an inline.

    The following is how I would approach it if I had inline container:

       <block xmlns="">
         Mandate for
         <inline-container alignment-adjust="-1.5em">
               <table-row border-after-style="solid" border-after-width="1pt">
                 <table-cell><block>(name of person)</block></table-cell>
         </inline-container>, a registered doctor.

    Unfortunately, XEP doesn't yet support <inline-container> but I would think
    it would be on their list of things to do.

    So, then the next thing I tried successfully in XSL-FO was the use of an
    auto-width table:

       <table xmlns="">
             <table-cell number-rows-spanned="2">
               <block>Mandate for </block>
             <table-cell border-after-style="solid" border-after-width="1pt">
             <table-cell number-rows-spanned="2">
               <block>, a registered doctor.</block>
             <table-cell><block>(name of person)</block></table-cell>

    But, again unfortunately, XEP doesn't yet support auto-width tables ...
    this probably isn't as high on their list as the inline-container ... but
    then I'm just speculating based on a perceived complexity by a non-implementer.

    So, if you take the second approach and hardwire your column and table
    widths to precisely fit your predetermined text ... then you will get the
    effect you want in XEP. But I don't think you can yet get the effect when
    you have arbitrarily long sequences before and after the two-high bit.

    I hope this helps.

    ................. Ken

    Next public US delivery:        3-day XSLT/2-day XSL-FO 2003-10-13
    Next public European delivery:  3-day XSLT/2-day XSL-FO 2003-11-??
    Instructor-led on-site corporate, government & user group training
    for XSLT and XSL-FO world-wide:  please contact us for the details
    G. Ken Holman       
    Crane Softwrights Ltd.
    Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
    ISBN 0-13-065196-6                       Definitive XSLT and XPath
    ISBN 0-13-140374-5                               Definitive XSL-FO
    ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
    ISBN 1-894049-11-X               Practical Formatting Using XSL-FO
    Member of the XML Guild of Practitioners:
    Male Breast Cancer Awareness
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Wed Sep 24 2003 - 16:53:00 PDT