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="#0 06699"
DataSourceID="X mlDataSource1"
GridLines="Both " ShowFooter="Fal se" ShowHeader="Fal se" BackColor="Whit e"
Font-Bold="False" Font-Italic="False" Font-Overline="False "
Font-Strikeout="Fals e" Font-Underline="Fals e" RepeatColumns=" 3"
RepeatDirection ="Horizontal ">
<ItemTemplate>< %# XPath(".")%></ItemTemplate>
</asp:DataList>
Aaron Minoo
"Martin Honnen" <ma*******@yaho o.de> wrote in message
news:eD******** ******@tk2msftn gp13.phx.gbl...
Aaron wrote:
How do I get all the name(s) listed in the datalist? <Donors>
<Name >
Abigail Sears
</Name>
<Name >
Alicia & Joe Swindel
</Name>
<Name >
Alissa & Neal Keny-Guyer
</Name>
<Name >
Ann Bremer & Earl Molander
</Name>
...
</Donors>
This is one way to do it (.NET 2.0):
<asp:XmlDataSou rce
ID="XmlDataSour ce1"
runat="server"
DataFile="test2 006022001.xml" XPath="Donors/Name"></asp:XmlDataSour ce>
<asp:DataList id="MyDataList " DataSourceId="X mlDataSource1"
runat="server"> <ItemTemplate >
<%# XPath(".") %>
</ItemTemplate>
</asp:DataList>
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/