[NTG-context] XML and Multipage table

Johannes Graumann johannes_graumann at web.de
Thu Apr 13 05:56:52 CEST 2006


Hello,

Does anybody have an insight into why a table created with the following
mapping rule for XML code does not present it's caption and is not split?

Thanks Joh

\defineXMLnested
  [table]
  {\bgroup
   \defineXMLsave[caption]
   \defineXMLsave[header]
   \defineXMLsave[body]
   %\defineXMLnested[header]{\bTABLEhead} {\eTABLEhead}
   %\defineXMLnested[body]  {\bTABLEbody} {\eTABLEbody}
   \placetable
      [\XMLpar{table}{location}{here}]
      [\XMLpar{table}{label}{unknown}]
      {\XMLflush{caption}}
      \bgroup
     
\setupTABLE[frame=off,split=repeat,style={\switchtobodyfont[small]\setupinterlinespace[line=2.8ex]}]
       
\framed[frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=0.75pt]
        \bgroup \bTABLE[distance=7.5pt]
        \bTABLEhead
          \XMLflush{header}
        \eTABLEhead
        \bTABLEbody
          \XMLflush{body}
        \eTABLEbody
        \bTABLEfoot\eTABLEfoot
        }
  {\eTABLE
   \egroup
   \egroup
   \egroup}



More information about the ntg-context mailing list