[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

CALS Tables

Subject: CALS Tables
From: Peter Niklaus <petern@xxxxxxxxxxxx>
Date: Fri, 11 Dec 1998 10:44:23 -0800
cals tables
Hi,

I am transforming SGML data into XML, and using Microsoft's XML plug-in to
display the information in a browser. Has anyone developed/come across a
design pattern for dealing with CALS tables? I have been pretty successful
in dealing with most other problems, but am reluctant to dive into this one
(skipped cells, named ranges etc.). 

Since CALS tables are used *a lot*, and they are by definition standardized,
it would be nice to have a standard XSL pattern to deal with them until they
are fully supported by the XML/XSL tools.

Thanks in advance, Peter (a newbie)


P.S. A CALS table using XML table might look like this (based on an aircraft
maintenance manual):

<TABLE>  
    <TGROUP COLS="3" ALIGN="LEFT" CHAROFF="50">
        <COLSPEC COLNAME="COL1" COLWIDTH="22*"/>
        <COLSPEC COLNAME="COL2" COLWIDTH="4*"/>
        <COLSPEC COLNAME="COL3" COLWIDTH="53*"/>
        <SPANSPEC NAMEST="COL1" NAMEEND="COL3" SPANNAME="WHOLE"
ALIGN="CENTER"/>
        <THEAD VALIGN="BOTTOM">
            <ROW>
                <ENTRY COLNAME="COL1" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>REFERENCE</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL2" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>QTY</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL3" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>DESIGNATION</PARA>
                </ENTRY>
             </ROW>
        </THEAD>
        <TBODY VALIGN="TOP">
            <ROW>
                <ENTRY COLNAME="COL1" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>No specific</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL3" MOREROWS="0" ROTATE="0" VALIGN="TOP">

                    <PARA>circuit breaker(s) safety clip(s)</PARA>
                </ENTRY>
            </ROW>             
            <ROW>
                <ENTRY COLNAME="COL1" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>No specific</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL3" MOREROWS="0" ROTATE="0" VALIGN="TOP">

                    <PARA>safety barriers</PARA>
                </ENTRY>
            </ROW>
            <ROW>
                <ENTRY COLNAME="COL1" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>No specific</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL3" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>thin nose pliers</PARA>
                </ENTRY>
            </ROW>
            <ROW>
                <ENTRY COLNAME="COL1" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>No specific</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL3" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>warning notice</PARA>
                </ENTRY>
            </ROW>
            <ROW>
                <ENTRY COLNAME="COL1" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>No specific</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL3" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>access platform 2.5 m (8 ft. 2 in.)</PARA>
                </ENTRY>
            </ROW>
            <ROW>
                <ENTRY COLNAME="COL1" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>No specific</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL3" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>access platform 3.0 m (9 ft. 10 in.)</PARA>
                </ENTRY>
            </ROW>
            <ROW>
                <ENTRY COLNAME="COL1" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>460005812</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL2" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>1</PARA>
                </ENTRY>
                <ENTRY COLNAME="COL3" MOREROWS="0" ROTATE="0" VALIGN="TOP">
                    <PARA>TORQUE ADAPTOR</PARA>
                </ENTRY>
            </ROW>
        </TBODY>
    </TGROUP>
</TABLE>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.