Results 1 to 4 of 4

Thread: [RESOLVED] XSLT doubt?

Threaded View

  1. #1

    Thread Starter
    Addicted Member senthilkumartd's Avatar
    Join Date
    Feb 2005
    Posts
    206

    Resolved [RESOLVED] XSLT doubt?

    I used the following lines of coding in the child webpage,

    Code:
    <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="Main" Runat="Server">
    </asp:Content>


    Code:
    In the page load event of the client page I mentioned the following coding
    System.Xml.XPath.XPathDocument xmlDoc = new System.Xml.XPath.XPathDocument(Server.MapPath("~\\app_Data\\xmldatafile.xml"));
            System.Xml.Xsl.XslTransform xslt = new System.Xml.Xsl.XslTransform();
            xslt.Load(Server.MapPath("~/app_Data/ContactsX.xsl"));
            xslt.Transform(xmlDoc, null, this.Response.OutputStream);
    I am using a logo in the top of the master page. The above code displays the result of the xslt transformation in the top of the child page. It means the output is displayed above the LOGO in the master page. How to solve this?. The result of the above code should be displayed in the content place holder. Help need! Please see the attachment for clarification.
    Attached Images Attached Images  
    Last edited by senthilkumartd; Mar 14th, 2007 at 11:57 PM.
    God has been pleased to place as a king or cobbler do the work sincerely

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width