XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Simone SSubject: Aligning table data according to "colspec" element
Author: Simone S
Date: 21 Apr 2006 02:29 AM
This is my XML file
<table-wrap id="tab001" position="float">
<label>TABLE 1.</label><caption><p>Table caption Table caption Table
caption Table caption</p></caption>
<table alt-graphic="014460500423X_tab001" frame="topbot">
<tgroup cols="5">
<colspec colname="1" colwidth="7.5*"/>
<colspec colname="2" align="center" colwidth="1*"/>
<colspec colname="3" align="center" colwidth="1*"/>
<colspec colname="4" align="center" colwidth="1.3*"/>
<colspec colname="5" align="center" colwidth="1.2*"/>
<entry morerows="1" valign="bottom"
<entry namest="2" nameend="5" rowsep="1"><p>Age group
<entry morerows="0" colname="2"><p>80&#x2013;89</p></entry>
<entry namest="2" nameend="5" align="center"><p><emphasis
<entry><p>Living with children or grandchildren</p></entry>
<entry><p>No formal education</p></entry>
<entry><p>Children or grandchildren the primary&#160;source of
financial support</p></entry>
<entry><p>Rural residents</p></entry>
<entry><p>Sample sizes</p></entry>
<entry namest="2" nameend="5" align="center"><p><emphasis
<fn-group type="footnotes">
<fn id="tfn001">
type="italic">Note</emphasis>&#x003A;</label><p>Weighted mean
percentages, unweighted <emphasis

This is my XSL file
<xsl:template match="entry">
<font size="2">
<xsl:attribute name="align"><xsl:value-of

The above coding for aligning the table data falling within "entry"
works fine, but the same coding does not work for empty tag "colspec".
Can anyone please help me with this.

Minollo I.Subject: Aligning table data according to
Author: Minollo I.
Date: 21 Apr 2006 08:56 AM
This is a forum in support to the Stylus Studio product. General XSLT questions are better posted on the xsl-list at mulberrytech.com


Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.