XML ASP.Net Tutorial

<%@ Page Language="C#" AutoEventWireup="false" %>



    Untitled Page


    
    

                                   runat="server" 
                           DataFile="~/Data.xml" 
                           XPath="/DvdList/DVD/Starring/Star"/>
                                    runat="server" 
                         DataSourceID="sourceDVD" 
                         AutoGenerateColumns="False">
              
                
                  
                    <%# XPath(".")%>
                  

                
              

        
    

    


File: Data.xml


   
      title 1
      directory 2
      1
      
         star 1
         star 2
      

   
   
      title 2
      directory 2
      2
      
         star 3
         star 4