from xml to html with xsl

Discussion in 'XML' started by Lemon_Jelly, Oct 1, 2003.

  1. Lemon_Jelly

    Lemon_Jelly Guest

    Hi,
    i have this xml file...

    <item>
    <i>1</i>
    <i>2</i>
    <i>3</i>
    <i>4</i>
    <i>5</i>
    <i>6</i>
    <i>7</i>
    <i>8</i>
    <i>9</i>
    </item>

    and I would output file in this format

    <html>
    <body>
    <table>
    <tr><td>1</td><td>2</td><td>3</td></tr>
    <tr><td>4</td><td>5</td><td>6</td></tr>
    <tr><td>7</td><td>8</td><td>9</td></tr>
    </body>
    </html>


    How I can implement the xsl file?

    than you!
    Lemon_Jelly, Oct 1, 2003
    #1
    1. Advertising

  2. http://www.topxml.com/code/default.asp?p=3&id=v20020514091249

    This snippet shows how to produce an N column-table from the nodes in a
    given a node-set, and also colour every two adjacent rows of the table in
    alternating colours.


    =====
    Cheers,

    Dimitre Novatchev.
    http://fxsl.sourceforge.net/ -- the home of FXSL



    "Lemon_Jelly" <linusx@_togli_qui_freemail.it> wrote in message
    news:bldvqv$qkf$...
    > Hi,
    > i have this xml file...
    >
    > <item>
    > <i>1</i>
    > <i>2</i>
    > <i>3</i>
    > <i>4</i>
    > <i>5</i>
    > <i>6</i>
    > <i>7</i>
    > <i>8</i>
    > <i>9</i>
    > </item>
    >
    > and I would output file in this format
    >
    > <html>
    > <body>
    > <table>
    > <tr><td>1</td><td>2</td><td>3</td></tr>
    > <tr><td>4</td><td>5</td><td>6</td></tr>
    > <tr><td>7</td><td>8</td><td>9</td></tr>
    > </body>
    > </html>
    >
    >
    > How I can implement the xsl file?
    >
    > than you!
    >
    >
    >
    Dimitre Novatchev, Oct 1, 2003
    #2
    1. Advertising

  3. Lemon_Jelly

    Lemon_Jelly Guest

    Thank you!!

    Lemon_Jelly
    Lemon_Jelly, Oct 2, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Flood
    Replies:
    0
    Views:
    1,017
    Kevin Flood
    Sep 8, 2004
  2. Kevin Flood
    Replies:
    1
    Views:
    2,729
    Kevin Flood
    Sep 13, 2004
  3. Klaus Friese
    Replies:
    0
    Views:
    466
    Klaus Friese
    Nov 22, 2004
  4. Replies:
    1
    Views:
    3,598
    A. Bolmarcich
    May 27, 2005
  5. Kourosh
    Replies:
    6
    Views:
    853
    Peter Flynn
    May 17, 2006
Loading...

Share This Page