Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Re: Problem with XSL transform of XML file to dynamic HTML tablewith fixed columns

Reply
Thread Tools

Re: Problem with XSL transform of XML file to dynamic HTML tablewith fixed columns

 
 
Johannes Koch
Guest
Posts: n/a
 
      07-02-2003
__grumpoxl wrote:
> I'm having some problems creating an html table from an xml document
> with xsl.
>
> Here is the important piece of my xml input document.
>
> <images>
> <image url="stl/images/stl_02.jpg" orientation="vertical"/>
> <image url="stl/images/stl_03.jpg" orientation="vertical"/>
> <image url="stl/images/stl_05.jpg" orientation="vertical"/>
> <image url="stl/images/stl_08.jpg" orientation="horizontal"/>
> <image url="stl/images/stl_12.jpg" orientation="vertical"/>
> <image url="stl/images/stl_arch_01.jpg" orientation="vertical"/>
> <image url="stl/images/stl_arch_02.jpg" orientation="vertical"/>
> </images>
>
> What I want is to be able to show all images in a table, but to
> recognize when the number of columns hit a maximum, and to create a
> new row. The fact that I'm dealing with images is irrelevant, it has
> more to do with the details of xsl.


Looks like transforming a docbook simplelist in horizontal mode. You may
have a look at the docbook xslt files.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSL for converting all rows and columns of XSL for Export to Excel. dynamic looping enggr XML 0 06-30-2010 10:06 PM
Dataset to XSL Transform not displaying HTML--only XML Anthony Harkness-Gripe ASP .Net 1 07-08-2008 01:23 AM
blocking I/O with javax.xml.parsers.DocumentBuilder.parse() and javax.xml.transform.Transformer.transform() jazzdman@gmail.com Java 1 03-27-2005 06:56 AM
Re: Problem with XSL transform of XML file to dynamic HTML table with fixed columns Marrow XML 0 07-02-2003 09:33 AM
What parses the xml/xsl transform in asp.net? System.xml NOT msxml? KathyB ASP .Net 0 06-25-2003 05:03 PM



Advertisments