Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Display set columns per row

From: "venky" <venky.mitt@-------.--->
To: NULL
Date: 3/8/2007 10:23:00 AM

Hi,

I have an xml file looks like

<result>
  <hit>
    <name>Foo</name>
    <small-image>foo.jpg</small-image>
    <short-desc>This is foo.</short-desc>
  </hit>
  <hit>
      <name>Foo1</name>
    <small-image>foo1.jpg</small-image>
    <short-desc>This is foo1.</short-desc>
  </hit>
  ...
</result>

I need to display it as 3 columns per row like
<table>
<tr><td>Foo</td><td>foo.jpg</td><td>This is foo</td></tr>
<tr><td>Foo1</td><td>foo1.jpg</td><td>This is foo1</td></tr>
.....
</table>

Can one pls help me how to do the xslt transform. Any code samples 
appreciated

Thanks
venky





transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent