Topic: xml problem...

I am have a xml problem
the Picture loads no problem but i am can´t see the description  for the Picture.
my xml code.

    writer.WriteStartElement("tiltviewergallery")
        writer.WriteStartElement("photos")
        For x = 0 To c - 1
            writer.WriteStartElement("photo")
            writer.WriteStartAttribute("imageurl")
            writer.WriteString(vetor(x))
            writer.WriteEndAttribute()
            writer.WriteStartAttribute("title")
            writer.WriteString("Nome da foto")
            writer.WriteStartAttribute("description")
            writer.WriteString(vt1(x))
            writer.WriteString(vt1(x))
            writer.WriteEndElement()
        Next
        writer.WriteEndElement()

thanks

Re: xml problem...

Check your gallery's XML file (load it directly in a browser) to see if the <description> tags are empty.
If they are, then, from the code you posted, it would appear that the vt1(x) variable is void, null or empty for each image within the loop.
If the <description> tags are not empty but the descriptions are not being displayed, then please post the URL to your gallery so that I can take a look and investigate further. (Perhaps the text color is the same as the background color and the text is being displayed but is simply not visible.)

Steven Speirs
SimpleViewer Support Team.