Off Topic - Databindings and XML - Binding Text between XML Tags

Off Topic - Databindings and XML - Binding Text between XML Tags

am 27.11.2007 14:28:32 von Martin Feuersteiner

Dear Group

First of all, my apologies for posting here. I tried the MS groups but
they're so useless. As some of you work with ASP.NET and XML I
wondered if you have come across this and can give me some advice as
this group is the only reliable source for an answer. Again, my
apologies for posting it here.

I wonder if I do something wrong and whether this is possible at all.
Any hint is greatly appreciated.

I have a XML file bound to a Treeview. The treenodes Text/Value
properties bind and populate fine if I set them to an attribute of
the
XML tag. What I would like to do however is setting my nodes text and
value property to text that is between the XML tags. Example:





Super Whitewash is ideal and a 'must have' for some
Government departments..




Our Extra Salted Butter is guaranteed to send your
blood pressure through the roof...





I tried to include 'Super Whitewash is ideal..' as an attribute in the
description tag. But that doesn't allow me to to a line break e.g.

if I have several paragraphs for the description.
If I include the line break,
, between the description tags, all
I can see is a list of
if I put several paragraphs in but none
of the actual text.

Any help and hint is very appreciated.

Thank you for your time and effort,

Martin