Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > how to modify...

Reply
Thread Tools

how to modify...

 
 
cicciottino@libero.it
Guest
Posts: n/a
 
      08-29-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57