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

RE: quick table layout problem

Subject: RE: quick table layout problem
From: "Andrew Welch" <andrew@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jan 2002 14:07:18 -0000
table colwidth
Santtu,

Thanks for your reply, that works great.

>> It's really un-efficient way of doing it because of all the the //s , so
you
>> should probably rewrite it so that it will only have to go throught the
>> entry elements once.

I have been trying, but I find it hard to match certain elements.  Take a
snip of the previous example:

====
<table frame="ALL" orient="PORT">
                  <tgroup cols="6">
                     <colspec colnum="1" colname="COL1" colwidth="113*"
colsep="1" rowsep="1">
                        <colspec colnum="2" colname="COL2" colwidth="78*"
colsep="1" rowsep="1">
                           <colspec colnum="3" colname="COL3" colwidth="78*"
colsep="1" rowsep="1">
                              <colspec colnum="4" colname="COL4"
colwidth="78*" colsep="1" rowsep="1">
                                 <colspec colnum="5" colname="COL5"
colwidth="78*" colsep="1" rowsep="1">
                                    <colspec colnum="6" colname="COL6"
colwidth="78*" colsep="1" rowsep="1">
                                       <thead>
                                          <colspec colnum="1" colname="COL1"
colwidth="113*" colsep="1" rowsep="1">
                                             <colspec colnum="2"
colname="COL2" colwidth="78*" colsep="1" rowsep="1">
                                                <colspec colnum="3"
colname="COL3" colwidth="78*" colsep="1" rowsep="1">
                                                   <colspec colnum="4"
colname="COL4" colwidth="78*" colsep="1" rowsep="1">
                                                      <colspec colnum="5"
colname="COL5" colwidth="78*" colsep="1" rowsep="1">
                                                         <colspec colnum="6"
colname="COL6" colwidth="78*" colsep="1" rowsep="1">
                                                            <row>
                                                               <entry
colname="COL1" colsep="1" rowsep="1">Nominal, UN Thread, Size</entry>
====

What is the best xpath expression to match the <entry> element, without
using //?

What would be really good - if one of the experts out there had some spare
time ;) - is a little utility that would display an XML file much like IE's
default, and give you the xpath of any elements if you clicked/hovered on
it.  More importantly, it could give you the xpath of any element in
relation to another element and so on.

Has this already been done??

Many thanks,

Andrew.

btw, the discussions on this list seem to have developed to level beyond
what it was a few months ago. Is this still the place to post questions like
this, or would the main participants prefer if this list was kept for heavy
topics like the new v2 specs?






 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.