Menu architecture: exhibition publication review
So far i have this:
Expand|Select|Wrap|Line Numbers
- <asp:XmlDataSource id="MySource" DataFile='architecture.xml' XPath='/architecture' runat="server"/>
- <div id="nav">Menu
- <asp:Repeater id="xml" DataSourceId="MySource" runat="server">
- <ItemTemplate><h1><%# XPath("@fullname")%>: </h1>
- <asp:Repeater id="nav" DataSource='<%# XPathSelect("@nav") %>' runat="server">
- <ItemTemplate>
- <a href="#"><%# XPath(".")%></a>
- </ItemTemplate>
- </asp:Repeater>
- </ItemTemplate>
- </asp:Repeater>
- </div>
- [architecture.xml]
- <?xml version="1.0" encoding="iso-8859-1"?>
- <architecture fullname="architecture">
- <exhibition nav="exhibition">
- </exhibition>
- <publications nav="publication">
- </publications>
- <images nav="image">
- </images>
- <reviews nav="review">
- </reviews>
- </architecture>