Author: davide128 | Posted on: 6/23/2010 1:24:44 PM | Views : 293

Can some please help me with the xpath syntax.. I have a user control with a repeater in it that creates an html layout.. I'm getting a bunch of errors..maybe I'm not using correct syntax..
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="FileDownLoadControl.ascx.vb" Inherits="FileDownLoadControl" %> <script language="VB" runat="server"> Public xmlFile As String = "" </script> <asp:XmlDataSource ID="XmlDataSource" runat="server" DataFile="~/App_Data/<% xmlFile %>" XPath="PGT/PRODUCT"> </asp:XmlDataSource> <asp:Repeater ID="RepeaterAccordion" runat="server" DataSourceID="XmlDataSource" > <ItemTemplate> <h3><a href="#"><%# XPath("DISPLAYTEXT")%>&l ...

Go to the complete details ...