Re: [xsl] howto convert node set into 2D table

Subject: Re: [xsl] howto convert node set into 2D table
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 04 Jul 2007 13:11:59 +0100
On Wed, Jul 04 2007 05:33:47 +0100, scarleton@xxxxxxxxxxxxxxxx wrote:
...
> There is an attribute to determine if the element should be shown, the
> data really looks like this:
>
> <category>
> <images>
>   <image name="a" display="true">1</image>
>   <image name="b" display="true">2</image>
>   <image name="c" display="true">3</image>
>   <image name="d" display="true">4</image>
>   <image name="e" display="false">5</image>
>   <image name="f" display="true">6</image>
>   <image name="g" display="false">7</image>
>   <image name="h" display="true">8</image>
> </images>
> </category>
...
> The data is a bit more complex then the sample data above.  The
> <category> element can also contain a <categories> element that
> contains another set of <category> elements.  I need to transform both
> the images/image and the categories/category under the main category
> element, the same way.

Do they all became part of one table, or is each images or categories a
separate table?

Are you using XSLT 1.0 or XSLT 2.0?

Regards,


Tony Graham.
======================================================================
Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx   http://www.menteithconsulting.com

Menteith Consulting Ltd             Registered in Ireland - No. 428599
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
======================================================================

Current Thread