|
 |
aspx thread: Relational XML Data
Message #1 by Scott Watermasysk <swatermasysk@C...> on Tue, 8 May 2001 15:45:42 -0400
|
|
Hello All.
I am still very new to XML, hence all of the questions.
I have a relational XML file that I am trying to bind to a datagrid or two.
I guess a good example would be a resume. My question is how can I access
the Data inside of the <Experience> tags using a datagrid.
In the past (OK a couple of hours ago) I used
<property name="Columns">
<ASP:BoundColum DataField="Name"/>
...
But I can't seem to get it to read the details of the Experience Tag
(Company, Title, ...etc).
Will I need to Datagrids (One for the top level stuff, and another for the
Experience details)?
Is it possible to select Experience/Company?
Thanks
Scott
Sample XML Resume:
<Person>
<Name>Scott</Name>
<Email>swatermasysk@c...</Email>
<Address>123 Right Here, Somewhere, ST</Address>
<Experience>
<Company>Consumer Health Sciences</Company>
<Title>Web Dude with little knowledge of XML</Title>
<DateStart>March 1, 2000</DateStart>
<DateStart>March 2, 2001</DateStart>
<Description>I did some work</Description>
</Experince>
<Experience>
<Company>KPMG</Company>
<Title>Web Analyst</Title>
<DateStart>March 1, 1999</DateStart>
<DateStart>March 2, 2000</DateStart>
<Description>I did some work</Description>
</Experince>
</Person>
Message #2 by "Alex Homer" <alex@b...> on Tue, 29 May 2001 16:24:40
|
|
There has been quite a lot of discussion about the ways that you might
attempt nested data binding, and I reckon you'll see more opportunties in
Beta 2. Meanwhile, I've seen a few ads in things like MSDN magazine and
others from third-party suppliers who are building data-grid controls that
have all kinds of bells and whistles built-in, such as hierarchical data
support and collapsible displays.
|
|
 |