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. Advertisements

  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. Advertisements

  3. Lemon_Jelly

    Lemon_Jelly Guest

    Thank you!!

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

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. Rick Walsh

    dates with db->xml->xsl->html

    Rick Walsh, Jul 15, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    454
    Rick Walsh
    Jul 15, 2003
  2. Anthony Harkness-Gripe

    Dataset to XSL Transform not displaying HTML--only XML

    Anthony Harkness-Gripe, Aug 14, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,246
    itnrant
    Jul 8, 2008
  3. Marrow
    Replies:
    0
    Views:
    4,344
    Marrow
    Jul 2, 2003
  4. Digital Puer
    Replies:
    5
    Views:
    433
    Dimitre Novatchev
    Aug 25, 2003
  5. Thuan Seah
    Replies:
    1
    Views:
    926
    Martin Boehm
    Sep 12, 2003
  6. Replies:
    1
    Views:
    3,919
    A. Bolmarcich
    May 27, 2005
  7. Kourosh
    Replies:
    6
    Views:
    1,015
    Peter Flynn
    May 17, 2006
  8. Erik Wasser
    Replies:
    5
    Views:
    840
    Peter J. Holzer
    Mar 5, 2006
Loading...