Martin,
Thanks,
my next question is this:
How do you get this datalist more like a grided table of 3 columns?
Here is what I have but it is not in true columns.
<asp:DataList ID="DataList1" runat="server" BorderColor="#006699"
DataSourceID="XmlDataSource1"
GridLines="Both" ShowFooter="False" ShowHeader="False" BackColor="White"
Font-Bold="False" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" RepeatColumns="3"
RepeatDirection="Horizontal">
<ItemTemplate><%# XPath(".")%></ItemTemplate>
</asp:DataList>
Aaron Minoo
"Martin Honnen" <mahotrash@yahoo.de> wrote in message
news:eDIIO0iNGHA.3944@tk2msftngp13.phx.gbl...[color=blue]
>
>
> Aaron wrote:
>[color=green]
> > How do I get all the name(s) listed in the datalist?[/color]
>[color=green]
> > <Donors>
> >
> > <Name >
> >
> > Abigail Sears
> >
> > </Name>
> >
> > <Name >
> >
> > Alicia & Joe Swindel
> >
> > </Name>
> >
> > <Name >
> >
> > Alissa & Neal Keny-Guyer
> >
> > </Name>
> >
> > <Name >
> >
> > Ann Bremer & Earl Molander
> >
> > </Name>
> >
> > ...
> >
> > </Donors>[/color]
>
> This is one way to do it (.NET 2.0):
>
> <asp:XmlDataSource
> ID="XmlDataSource1"
> runat="server"
> DataFile="test2006022001.xml" XPath="Donors/Name"></asp:XmlDataSource>
>
> <asp:DataList id="MyDataList" DataSourceId="XmlDataSource1"[/color]
runat="server">[color=blue]
> <ItemTemplate>
> <%# XPath(".") %>
> </ItemTemplate>
> </asp:DataList>
>
>
> --
>
> Martin Honnen --- MVP XML
>
http://JavaScript.FAQTs.com/[/color]