PDA

View Full Version : text area XML and photos


creo
08-22-2005, 08:24 PM
hello to everybody.

here is anoter problem!

i have to visualize various fotos in a text area component using an xml file in which i put my news and so relative pic.

i tried to create various nodes in which i put the data

ex:

<discography>
<album>
album title
</album>
<foto>
<img src="xxx.jpg" width="150" height="150">
</foto>
<anno>
ANNO 2006
</anno>
<brani>
<li>title1
<li>title2
</brani>

</discography>


OK.

THERE ARE TWO KIND OF PROBLEMS:(important!!:i've set the textarea for html!!)

1- <li> tag works only on the first big node: if i try to create another macronode(ex:
<album>
album title
</album>
<foto>
<img src="xxx.jpg" width="150" height="150">
</foto>
<anno>
ANNO 2006
</anno>
<brani>
<li>title1
<li>title2
</brani>
)

textarea comp visualize only the first macronode.


2nd problem:

<img> tag doesn't work, or better, it worked only one time...then, i don't know why, doesn't work.

the cases are two: the pic is visualized but the rest of nodes not
or
neither pic is visualized and text neither...


have you some solution for me?

thanks a lot!
:)

jaspers_cool
09-26-2005, 04:24 PM
i have the same problem, in my case the picture is put exactly the same place.
so you have to put in a lot of <br>'s before you can see the next pic.