how to modify...

Discussion in 'XML' started by cicciottino@libero.it, Aug 29, 2006.

  1. Guest

    i have in a xml file this

    <post>
    <titolo>Forno solare</titolo>
    <data>28/08/2006</data>
    <testo>
    Ecco il mio forno solare, bla , bla, bla , bla, bla , bla....
    </testo>
    </post>


    and in xsl file this:

    <div id="post">
    <xsl:for-each select="news/post">
    <xsl:sort data-type="text" select="data" order="descending"/>
    <h1><xsl:value-of select="titolo" /></h1>
    <h2><xsl:value-of select="data"/></h2>
    <p><xsl:apply-templates select="testo"/></p>
    </xsl:for-each>
    </div>

    i would like then in the text element when is formatting, i can see
    some text a pic some text a pic some text a pic and so on and so on
    how to do for get this?
    sorry for my english
     
    , Aug 29, 2006
    #1
    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. ES
    Replies:
    2
    Views:
    1,555
    jgy3183
    Aug 20, 2004
  2. Purl Gurl
    Replies:
    0
    Views:
    923
    Purl Gurl
    Aug 18, 2003
  3. Replies:
    0
    Views:
    1,012
  4. Yaroslav
    Replies:
    2
    Views:
    454
  5. Richard Bell
    Replies:
    0
    Views:
    520
    Richard Bell
    Jun 4, 2004
Loading...

Share This Page