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

Re: Making tables

Subject: Re: Making tables
From: Andrew Bunner <bunner@xxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Sep 1998 10:17:58 -0700
andrew bunner
>And I want to create an XSL rule to generate a two column table of this
>information (i.e. each row in the table contains two item entries) in
>HTML.  Is there a way to do this without going through the formatting
>objects (although columns don't seem to exist there yet either)?

  I don't know of a way to do it with the XML sample you provided. With the
tools we have right now, I think that you'll have to include some
formatting information in the XML document that indicates which columns a
given list element belongs to.

<list>
  <item column="1">yada yada</item>
  ...

  Or

<list>
  <column>
    <item>foo bar</item>
    ...

  Definitely the answer you were looking for. Everybody hates to include
display information in XML. This is something that scipting would fix. From
all I've read, the WG has plan to incorporate scripting into the draft at
some later point. For now, though, if you're using a tool that implements
the current WD, I think you'll have to kludge it. msxsl implements
scripting and would be able to handle this, but you'd have to write your
style sheet using the (now obselete) syntax of the original note.

-- Andrew

   Andrew Bunner
   President, Founder Mass Quantities, Inc.
   Professional Supplements for the Perfect Physique
   http://www.massquantities.com 


 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.